public enum LogLevel extends Enum<LogLevel>
| Enum Constant and Description |
|---|
BASIC
Logs request and response lines.
|
BODY
Logs request and response lines including headers and body (if present).
|
HEADERS
Logs request and response lines including headers.
|
NONE
Disable logging.
|
| Modifier and Type | Method and Description |
|---|---|
static LogLevel |
valueOf(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 BASIC
public static final LogLevel HEADERS
public static final LogLevel BODY
public static LogLevel[] values()
for (LogLevel c : LogLevel.values()) System.out.println(c);
public static 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 © 2018–2022 InfluxData, Inc.. All rights reserved.