程序包 | 说明 |
---|---|
org.jboss.netty.handler.logging |
Logs a
ChannelEvent for debugging purpose
using an InternalLogger . |
org.jboss.netty.logging |
Simplistic internal-use-only logging layer which allows a user to
decide what logging framework Netty should use.
|
限定符和类型 | 方法和说明 |
---|---|
InternalLogLevel |
LoggingHandler.getLevel()
Returns the
InternalLogLevel that this handler uses to log
a ChannelEvent . |
构造器和说明 |
---|
LoggingHandler(java.lang.Class<?> clazz,
InternalLogLevel level)
Creates a new instance with the specified logger name.
|
LoggingHandler(java.lang.Class<?> clazz,
InternalLogLevel level,
boolean hexDump)
Creates a new instance with the specified logger name.
|
LoggingHandler(InternalLogLevel level)
Creates a new instance whose logger name is the fully qualified class
name of the instance.
|
LoggingHandler(InternalLogLevel level,
boolean hexDump)
Creates a new instance whose logger name is the fully qualified class
name of the instance.
|
LoggingHandler(java.lang.String name,
InternalLogLevel level,
boolean hexDump)
Creates a new instance with the specified logger name.
|
限定符和类型 | 方法和说明 |
---|---|
static InternalLogLevel |
InternalLogLevel.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static InternalLogLevel[] |
InternalLogLevel.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
boolean |
InternalLogger.isEnabled(InternalLogLevel level)
Returns
true if the specified log level message is logged. |
boolean |
AbstractInternalLogger.isEnabled(InternalLogLevel level) |
void |
InternalLogger.log(InternalLogLevel level,
java.lang.String msg)
Logs a message.
|
void |
AbstractInternalLogger.log(InternalLogLevel level,
java.lang.String msg) |
void |
InternalLogger.log(InternalLogLevel level,
java.lang.String msg,
java.lang.Throwable cause)
Logs a message.
|
void |
AbstractInternalLogger.log(InternalLogLevel level,
java.lang.String msg,
java.lang.Throwable cause) |