public class NopLogger extends LoggerSupport implements Logger
activateOption, delegateLogger
Constructor and Description |
---|
NopLogger() |
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, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
debug, debug, error, error, error, getDelegate, info, info, warn, warn
activateAppender, activateAppender, activateAppenderWithSizeRolling, activateAppenderWithTimeAndSizeRolling, activateAppenderWithTimeAndSizeRolling, activateAppenderWithTimeAndSizeRolling, activateAsync, activateAsync, activateAsyncAppender, activateAsyncAppender, activateConsoleAppender, getLevel, getProductName, setAdditivity, setLevel
public void debug(String context, String message)
Logger
public void debug(String context, String format, Object... args)
Logger
public void info(String context, String message)
Logger
public void info(String context, String format, Object... args)
Logger
public void warn(String message, Throwable t)
Logger
public void warn(String context, String message)
Logger
public void warn(String context, String format, Object... args)
Logger
public void error(String context, String errorCode, String message)
Logger
public void error(String context, String errorCode, String message, Throwable t)
Logger
public void error(String context, String errorCode, String format, Object... args)
Logger
public boolean isDebugEnabled()
Logger
isDebugEnabled
in interface Logger
public boolean isInfoEnabled()
Logger
isInfoEnabled
in interface Logger
public boolean isWarnEnabled()
Logger
isWarnEnabled
in interface Logger
public boolean isErrorEnabled()
Logger
isErrorEnabled
in interface Logger
Copyright © 2018 Alibaba Group. All rights reserved.