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