程序包 | 说明 |
---|---|
io.netty.handler.logging |
Logs a
io.netty.channel.ChannelEvent for debugging purpose. |
限定符和类型 | 方法和说明 |
---|---|
LogLevel |
LoggingHandler.level()
Returns the
LogLevel that this handler uses to log |
static LogLevel |
LogLevel.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static LogLevel[] |
LogLevel.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
构造器和说明 |
---|
LoggingHandler(java.lang.Class<?> clazz,
LogLevel level)
Creates a new instance with the specified logger name.
|
LoggingHandler(LogLevel level)
Creates a new instance whose logger name is the fully qualified class
name of the instance.
|
LoggingHandler(java.lang.String name,
LogLevel level)
Creates a new instance with the specified logger name.
|