public class RareLogger extends Logger
Modifier and Type | Class and Description |
---|---|
static interface |
RareLogger.LogFilter |
Logger.Factory
Modifier and Type | Method and Description |
---|---|
void |
addFilter(RareLogger.LogFilter logFilter) |
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) |
static Logger |
wrap(Logger logger,
boolean fairSync) |
static Logger |
wrap(Logger logger,
boolean fairSync,
RareLogger.LogFilter... filters) |
assertTrue, assertTrue, checkException, debug, error, error, error, error, error, error, error, getFactory, getInstance, getInstance, info, isInitialized, setFactory, setFactory, warn, warn
public void addFilter(RareLogger.LogFilter logFilter)
public static Logger wrap(Logger logger, boolean fairSync, RareLogger.LogFilter... filters)
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 error(java.lang.String message, java.lang.Throwable t, java.lang.String... details)
public void info(java.lang.String message, java.lang.Throwable t)
public void warn(java.lang.String message, java.lang.Throwable t)