public class CompositeLogger extends Logger
Logger.Factory
Constructor and Description |
---|
CompositeLogger(Logger... loggers) |
Modifier and Type | Method and Description |
---|---|
void |
debug(java.lang.String message) |
void |
debug(java.lang.String message,
java.lang.Throwable t) |
void |
debug(java.lang.Throwable t) |
void |
error(java.lang.String message,
java.lang.Throwable t,
java.lang.String... details) |
void |
info(java.lang.String message) |
void |
info(java.lang.String message,
java.lang.Throwable t) |
boolean |
isDebugEnabled() |
boolean |
isTraceEnabled() |
void |
setLevel(Level level) |
void |
trace(java.lang.String message)
Log a message with 'trace' level which finer-grained than 'debug' level.
|
void |
trace(java.lang.Throwable t) |
void |
warn(java.lang.String message,
java.lang.Throwable t) |
assertTrue, assertTrue, checkException, debug, error, error, error, error, error, error, error, getFactory, getInstance, getInstance, info, isInitialized, setFactory, setFactory, warn, warn
public CompositeLogger(Logger... loggers)
public boolean isDebugEnabled()
isDebugEnabled
in class Logger
public void debug(java.lang.String message, java.lang.Throwable t)
public boolean isTraceEnabled()
isTraceEnabled
in class Logger
public void trace(java.lang.String message)
Logger
Logger.debug(String)
for internal
events of a subsystem to avoid overwhelming the log if 'debug' level is enabled.public void info(java.lang.String message, java.lang.Throwable t)
public void warn(java.lang.String message, java.lang.Throwable t)
public void error(java.lang.String message, java.lang.Throwable t, java.lang.String... details)