public static enum OpenWrapSDK.LogLevel extends java.lang.Enum<OpenWrapSDK.LogLevel>
Enum Constant and Description |
---|
All
All level of logs
|
Debug
Error, warning, info and debug logs
|
Error
Error logs only
|
Info
Error, warning and info logs
|
Off
No logs
|
Verbose
Error, warning, info, debug and verbose logs
|
Warn
Error and warning logs
|
Modifier and Type | Method and Description |
---|---|
int |
getLevel() |
static OpenWrapSDK.LogLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OpenWrapSDK.LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenWrapSDK.LogLevel All
public static final OpenWrapSDK.LogLevel Verbose
public static final OpenWrapSDK.LogLevel Debug
public static final OpenWrapSDK.LogLevel Info
public static final OpenWrapSDK.LogLevel Warn
public static final OpenWrapSDK.LogLevel Error
public static final OpenWrapSDK.LogLevel Off
public static OpenWrapSDK.LogLevel[] values()
for (OpenWrapSDK.LogLevel c : OpenWrapSDK.LogLevel.values()) System.out.println(c);
public static OpenWrapSDK.LogLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getLevel()