public class Slf4jLoggingCallback extends Object implements LoggingCallback
| Constructor and Description |
|---|
Slf4jLoggingCallback(org.slf4j.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
void |
audit(LoggingEvent e)
This implementation uses INFO level of slf4j and marks these logged messages with AUDIT marker
|
void |
debug(LoggingEvent e)
corresponds to DEBUG level of logging
|
void |
error(LoggingEvent e)
corresponds to ERROR level of logging
|
void |
info(LoggingEvent e)
corresponds to INFO level of logging
|
void |
trace(LoggingEvent e)
corresponds to TRACE level of logging
|
void |
warn(LoggingEvent e)
corresponds to WARN level of logging
|
public void info(LoggingEvent e)
LoggingCallbackinfo in interface LoggingCallbacke - event to logpublic void warn(LoggingEvent e)
LoggingCallbackwarn in interface LoggingCallbacke - event to logpublic void debug(LoggingEvent e)
LoggingCallbackdebug in interface LoggingCallbacke - event to logpublic void error(LoggingEvent e)
LoggingCallbackerror in interface LoggingCallbacke - event to logpublic void trace(LoggingEvent e)
LoggingCallbacktrace in interface LoggingCallbacke - event to logpublic void audit(LoggingEvent e)
audit in interface LoggingCallbacke - event to logCopyright © 2018. All rights reserved.