public static enum FutureRpcResults.LogLevel extends Enum<FutureRpcResults.LogLevel>
| Enum Constant and Description |
|---|
DEBUG |
ERROR |
INFO |
NONE
Note that when using LogLevel NONE for failures, then you should set a
FutureRpcResults.FutureRpcResultBuilder.onFailure(Consumer) which does better logging,
or be 100% sure that all callers of the RPC check the returned Future RpcResult appropriately;
otherwise you will lose error messages. |
TRACE |
WARN |
| Modifier and Type | Method and Description |
|---|---|
void |
log(org.slf4j.Logger logger,
String format,
Object... arguments) |
static FutureRpcResults.LogLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FutureRpcResults.LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FutureRpcResults.LogLevel ERROR
public static final FutureRpcResults.LogLevel WARN
public static final FutureRpcResults.LogLevel INFO
public static final FutureRpcResults.LogLevel DEBUG
public static final FutureRpcResults.LogLevel TRACE
public static final FutureRpcResults.LogLevel NONE
FutureRpcResults.FutureRpcResultBuilder.onFailure(Consumer) which does better logging,
or be 100% sure that all callers of the RPC check the returned Future RpcResult appropriately;
otherwise you will lose error messages.public static FutureRpcResults.LogLevel[] values()
for (FutureRpcResults.LogLevel c : FutureRpcResults.LogLevel.values()) System.out.println(c);
public static FutureRpcResults.LogLevel 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 nullCopyright © 2019 OpenDaylight. All rights reserved.