public enum LogLevel extends java.lang.Enum<LogLevel>
The LogLevel defines the log output of the WDW-SDK.
This LogLevel is settable by builder pattern to the following levels:
By default, the WDW-SDK is set to LogLevel.Warning. The LogLevel can be changed by calling e.g.
wdwClient = new WDWBuilder(this.getApplicationContext(), wdwClientCallback , "YourFleetId").setLogLevel(LogLevel.Info).build();
| Enum Constant and Description |
|---|
Error
Enables logging of errors only in the WDW-SDK.
|
Info
Enables logging of errors, warnings and additional information in the WDW-SDK.
|
None
Disables logging in the WDW-SDK.
|
Warning
Enables logging of errors and warnings in the WDW-SDK.
|
| Modifier and Type | Method and Description |
|---|---|
static LogLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LogLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogLevel None
public static final LogLevel Error
public static final LogLevel Warning
public static final LogLevel Info
public static LogLevel[] values()
for (LogLevel c : LogLevel.values()) System.out.println(c);
public static 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 null