Package org.apache.cxf.common.logging
Class AbstractDelegatingLogger
java.lang.Object
java.util.logging.Logger
org.apache.cxf.common.logging.AbstractDelegatingLogger
- Direct Known Subclasses:
Slf4jLogger
java.util.logging.Logger implementation delegating to another framework.
All methods can be used except:
setLevel
addHandler / getHandlers
setParent / getParent
setUseParentHandlers / getUseParentHandlers
-
Field Summary
Fields inherited from class java.util.logging.Logger
global, GLOBAL_LOGGER_NAME
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractDelegatingLogger
(String name, String resourceBundleName) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addHandler
(Handler handler) void
protected void
protected void
void
void
void
void
void
void
void
void
protected String
formatMessage
(LogRecord record) Handler[]
abstract Level
getLevel()
boolean
void
protected void
internalLog
(LogRecord record) protected abstract void
internalLogFormatted
(String msg, LogRecord record) boolean
isLoggable
(Level level) void
void
void
void
void
void
void
void
void
void
Deprecated.void
logrb
(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object param1) Deprecated.void
logrb
(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object[] params) Deprecated.void
logrb
(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Throwable thrown) Deprecated.void
removeHandler
(Handler handler) void
void
void
setUseParentHandlers
(boolean useParentHandlers) void
protected boolean
void
void
Methods inherited from class java.util.logging.Logger
config, fine, finer, finest, getAnonymousLogger, getAnonymousLogger, getFilter, getGlobal, getLogger, getLogger, getName, getResourceBundle, getResourceBundleName, info, log, log, logp, logp, logrb, logrb, logrb, logrb, setFilter, setResourceBundle, severe, warning
-
Constructor Details
-
AbstractDelegatingLogger
-
-
Method Details
-
log
-
log
-
log
-
log
-
log
-
logp
-
logp
-
logp
-
logp
-
logrb
@Deprecated public void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg) Deprecated. -
logrb
@Deprecated public void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object param1) Deprecated. -
logrb
@Deprecated public void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Object[] params) Deprecated. -
logrb
@Deprecated public void logrb(Level level, String sourceClass, String sourceMethod, String bundleName, String msg, Throwable thrown) Deprecated. -
entering
-
entering
-
entering
-
exiting
-
exiting
-
throwing
-
severe
-
warning
-
info
-
config
-
fine
-
finer
-
finest
-
setLevel
-
getLevel
-
isLoggable
- Overrides:
isLoggable
in classLogger
-
supportsHandlers
protected boolean supportsHandlers() -
addHandler
- Overrides:
addHandler
in classLogger
-
removeHandler
- Overrides:
removeHandler
in classLogger
-
getHandlers
- Overrides:
getHandlers
in classLogger
-
setUseParentHandlers
public void setUseParentHandlers(boolean useParentHandlers) - Overrides:
setUseParentHandlers
in classLogger
-
getUseParentHandlers
public boolean getUseParentHandlers()- Overrides:
getUseParentHandlers
in classLogger
-
getParent
-
setParent
-
doLog
-
doLog
-
internalLog
-
internalLogFormatted
-
formatMessage
-