The Diffusion log implementation, which is deprecated in favor of Log4j 2, will be removed in a future release.
@Deprecated public static enum LogDescription.LogLevel extends Enum<LogDescription.LogLevel>
Enum Constant and Description |
---|
ADVICE
Deprecated.
Advice.
|
DEBUG
Deprecated.
Debug (SLF4J).
|
ERROR
Deprecated.
Error (SLF4J).
|
FINE
Deprecated.
Fine (equivalent to
DEBUG ). |
FINEST
Deprecated.
Finest (equivalent to
TRACE ). |
INFO
Deprecated.
Info (SLF4J).
|
SEVERE
Deprecated.
Severe (equivalent to
ERROR ). |
TRACE
Deprecated.
Trace (SLF4J).
|
WARN
Deprecated.
Warning (SLF4J).
|
WARNING
Deprecated.
Warning (equivalent to
WARN ). |
Modifier and Type | Method and Description |
---|---|
static LogDescription.LogLevel |
fromString(String symbol)
Deprecated.
Returns log level enum from string representation.
|
static LogDescription.LogLevel |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static LogDescription.LogLevel[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogDescription.LogLevel ERROR
public static final LogDescription.LogLevel WARN
public static final LogDescription.LogLevel INFO
public static final LogDescription.LogLevel DEBUG
public static final LogDescription.LogLevel TRACE
public static final LogDescription.LogLevel SEVERE
ERROR
).public static final LogDescription.LogLevel WARNING
WARN
).public static final LogDescription.LogLevel ADVICE
public static final LogDescription.LogLevel FINE
DEBUG
).public static final LogDescription.LogLevel FINEST
TRACE
).public static LogDescription.LogLevel[] values()
for (LogDescription.LogLevel c : LogDescription.LogLevel.values()) System.out.println(c);
public static LogDescription.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 nullpublic static LogDescription.LogLevel fromString(String symbol)
symbol
- log level name in either lower or upper caseCopyright © 2021 Push Technology Ltd. All Rights Reserved.