public enum RpcLogDestination extends Enum<RpcLogDestination>
Enum Constant and Description |
---|
DEBUG |
ERROR |
INFO |
SYSTEM_ERR |
SYSTEM_OUT |
WARN |
Modifier and Type | Method and Description |
---|---|
String |
asString()
The string form of the log level.
|
static RpcLogDestination |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RpcLogDestination[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RpcLogDestination INFO
public static final RpcLogDestination DEBUG
public static final RpcLogDestination WARN
public static final RpcLogDestination ERROR
public static final RpcLogDestination SYSTEM_OUT
public static final RpcLogDestination SYSTEM_ERR
public static RpcLogDestination[] values()
for (RpcLogDestination c : RpcLogDestination.values()) System.out.println(c);
public static RpcLogDestination 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 nullpublic String asString()
Copyright © 2003–2020 Atlassian. All rights reserved.