Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
InternalLogLevel |
LoggingHandler.getLevel()
Returns the
InternalLogLevel that this handler uses to log
a ChannelEvent . |
Constructor and Description |
---|
LoggingHandler(Class<?> clazz,
InternalLogLevel level)
Creates a new instance with the specified logger name.
|
LoggingHandler(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(String name,
InternalLogLevel level,
boolean hexDump)
Creates a new instance with the specified logger name.
|
Modifier and Type | Method and Description |
---|---|
static InternalLogLevel |
InternalLogLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternalLogLevel[] |
InternalLogLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
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,
String msg)
Logs a message.
|
void |
AbstractInternalLogger.log(InternalLogLevel level,
String msg) |
void |
InternalLogger.log(InternalLogLevel level,
String msg,
Throwable cause)
Logs a message.
|
void |
AbstractInternalLogger.log(InternalLogLevel level,
String msg,
Throwable cause) |
Copyright © 2008-2016 The Netty Project. All Rights Reserved.