public class Slf4jLogger extends LoggerSupport implements Logger
activateOption, delegateLogger| Constructor and Description |
|---|
Slf4jLogger(org.slf4j.Logger delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
debug(String context,
String message)
输出Debug日志
|
void |
debug(String context,
String format,
Object... args)
输出Debug日志
|
void |
error(String context,
String errorCode,
String message)
输出Error日志
|
void |
error(String context,
String errorCode,
String format,
Object... args)
输出Error日志
|
void |
error(String context,
String errorCode,
String message,
Throwable t)
输出Error日志
|
void |
info(String context,
String message)
输出Info日志
|
void |
info(String context,
String format,
Object... args)
输出Info日志
|
boolean |
isDebugEnabled()
判断Debug级别是否开启
|
boolean |
isErrorEnabled()
判断Error级别是否开启
|
boolean |
isInfoEnabled()
判断Info级别是否开启
|
boolean |
isWarnEnabled()
判断Warn级别是否开启
|
void |
warn(String context,
String message)
输出Warn日志
|
void |
warn(String context,
String format,
Object... args)
输出Warn日志
|
void |
warn(String message,
Throwable t)
输出Warn日志
|
activateAppender, activateAppender, activateAppenderWithSizeRolling, activateAppenderWithTimeAndSizeRolling, activateAppenderWithTimeAndSizeRolling, activateAppenderWithTimeAndSizeRolling, activateAsync, activateAsync, activateAsyncAppender, activateAsyncAppender, activateConsoleAppender, debug, debug, error, error, error, getDelegate, getLevel, getProductName, info, info, setAdditivity, setLevel, warn, warnclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdebug, debug, error, error, error, getDelegate, info, info, warn, warnactivateAppender, activateAppender, activateAppenderWithSizeRolling, activateAppenderWithTimeAndSizeRolling, activateAppenderWithTimeAndSizeRolling, activateAppenderWithTimeAndSizeRolling, activateAsync, activateAsync, activateAsyncAppender, activateAsyncAppender, activateConsoleAppender, getLevel, getProductName, setAdditivity, setLevelpublic void debug(String context, String message)
Loggerpublic void debug(String context, String format, Object... args)
Loggerpublic void info(String context, String message)
Loggerpublic void info(String context, String format, Object... args)
Loggerpublic void warn(String message, Throwable t)
Loggerpublic void warn(String context, String message)
Loggerpublic void warn(String context, String format, Object... args)
Loggerpublic void error(String context, String errorCode, String message)
Loggerpublic void error(String context, String errorCode, String message, Throwable t)
Loggerpublic void error(String context, String errorCode, String format, Object... args)
Loggerpublic boolean isDebugEnabled()
LoggerisDebugEnabled in interface Loggerpublic boolean isInfoEnabled()
LoggerisInfoEnabled in interface Loggerpublic boolean isWarnEnabled()
LoggerisWarnEnabled in interface Loggerpublic boolean isErrorEnabled()
LoggerisErrorEnabled in interface LoggerCopyright © 2018 Alibaba Group. All rights reserved.