public abstract class AbstractInternalLogger extends java.lang.Object implements InternalLogger
InternalLogger. This class implements
all methods that have a InternalLogLevel parameter by default to call
specific logger methods such as InternalLogger.info(String) or InternalLogger.isInfoEnabled().| 限定符 | 构造器和说明 |
|---|---|
protected |
AbstractInternalLogger()
Creates a new instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isEnabled(InternalLogLevel level)
Returns
true if the specified log level message is logged. |
void |
log(InternalLogLevel level,
java.lang.String msg)
Logs a message.
|
void |
log(InternalLogLevel level,
java.lang.String msg,
java.lang.Throwable cause)
Logs a message.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdebug, debug, error, error, info, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, warn, warnpublic boolean isEnabled(InternalLogLevel level)
InternalLoggertrue if the specified log level message is logged.isEnabled 在接口中 InternalLoggerpublic void log(InternalLogLevel level, java.lang.String msg, java.lang.Throwable cause)
InternalLoggerlog 在接口中 InternalLoggerpublic void log(InternalLogLevel level, java.lang.String msg)
InternalLoggerlog 在接口中 InternalLogger