public abstract class AbstractInternalLogger extends 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().| Modifier | Constructor and Description |
|---|---|
protected |
AbstractInternalLogger()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEnabled(InternalLogLevel level)
Returns
true if the specified log level message is logged. |
void |
log(InternalLogLevel level,
String msg)
Logs a message.
|
void |
log(InternalLogLevel level,
String msg,
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, warnprotected AbstractInternalLogger()
public boolean isEnabled(InternalLogLevel level)
InternalLoggertrue if the specified log level message is logged.isEnabled in interface InternalLoggerpublic void log(InternalLogLevel level, String msg, Throwable cause)
InternalLoggerlog in interface InternalLoggerpublic void log(InternalLogLevel level, String msg)
InternalLoggerlog in interface InternalLoggerCopyright © 2008-2016 The Netty Project. All Rights Reserved.