public static enum ChannelLogger.ChannelLogLevel extends Enum<ChannelLogger.ChannelLogLevel>
ChannelTraceEvent
from channelz.proto)
and Java logger levels. Note that DEBUG
level is not recorded on Channelz.
+---------------------+-------------------+-------------------+ | ChannelLogger Level | Channelz Severity | Java Logger Level | +---------------------+-------------------+-------------------+ | DEBUG | N/A | FINEST | | INFO | CT_INFO | FINER | | WARNING | CT_WARNING | FINE | | ERROR | CT_ERROR | FINE | +---------------------+-------------------+-------------------+
Modifier and Type | Method and Description |
---|---|
static ChannelLogger.ChannelLogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelLogger.ChannelLogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelLogger.ChannelLogLevel DEBUG
public static final ChannelLogger.ChannelLogLevel INFO
public static final ChannelLogger.ChannelLogLevel WARNING
public static final ChannelLogger.ChannelLogLevel ERROR
public static ChannelLogger.ChannelLogLevel[] values()
for (ChannelLogger.ChannelLogLevel c : ChannelLogger.ChannelLogLevel.values()) System.out.println(c);
public static ChannelLogger.ChannelLogLevel valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null