public class SLF4JSupportLoggerAdapter extends AbstractSupportLoggerAdapter implements SupportLoggerAdapter
An SLF4J implementation of SupportLoggerAdapter that will delegate to the configured SLF4J logging framework.
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_LEVEL_KEY |
DEBUG, ERROR, FATAL, INFO, LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_FATAL, LOG_LEVEL_INFO, LOG_LEVEL_SUPPORT, LOG_LEVEL_TRACE, LOG_LEVEL_WARN, SUPPORT, TRACE, WARN| Constructor and Description |
|---|
SLF4JSupportLoggerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(String message)
In order to be backwards compatible.
|
void |
debug(String message,
Throwable t) |
void |
error(String message) |
void |
error(String message,
Throwable t) |
void |
fatal(String message)
Mapping FATAL to ERROR as the SLF4J API does not contain a fatal level
|
void |
fatal(String message,
Throwable t)
Mapping FATAL to ERROR as the SLF4J API does not contain a fatal level
|
String |
getName() |
int |
getSupportLevel() |
void |
info(String message) |
void |
info(String message,
Throwable t) |
void |
lifecycle(LifeCycleEvent lifeCycleEvent,
String message)
emit a SUPPORT lifecycle message
|
protected void |
mapSupportLevel(String message,
Throwable t) |
void |
setName(String name) |
void |
support(String message)
emit a SUPPORT level message
|
void |
support(String message,
Throwable t)
emit a SUPPORT level message with throwable
|
void |
warn(String message) |
void |
warn(String message,
Throwable t) |
public static final String DEFAULT_LEVEL_KEY
public void support(String message)
SupportLoggerAdaptersupport in interface SupportLoggerAdapterpublic void support(String message, Throwable t)
SupportLoggerAdaptersupport in interface SupportLoggerAdapterpublic void lifecycle(LifeCycleEvent lifeCycleEvent, String message)
SupportLoggerAdapterlifecycle in interface SupportLoggerAdapterpublic void debug(String message)
SupportLoggerAdapterdebug in interface SupportLoggerAdapterpublic void debug(String message, Throwable t)
debug in interface SupportLoggerAdapterpublic void error(String message)
error in interface SupportLoggerAdapterpublic void error(String message, Throwable t)
error in interface SupportLoggerAdapterpublic void fatal(String message)
fatal in interface SupportLoggerAdaptermessage - public void fatal(String message, Throwable t)
fatal in interface SupportLoggerAdaptermessage - t - public void info(String message)
info in interface SupportLoggerAdapterpublic void info(String message, Throwable t)
info in interface SupportLoggerAdapterpublic void warn(String message)
warn in interface SupportLoggerAdapterpublic void warn(String message, Throwable t)
warn in interface SupportLoggerAdapterpublic int getSupportLevel()
public String getName()
getName in interface SupportLoggerAdapterpublic void setName(String name)
setName in interface SupportLoggerAdapterCopyright © 2022. All rights reserved.