public enum LogLevels extends Enum<LogLevels>
| Enum Constant and Description |
|---|
ALL |
DEBUG |
ERROR |
INFO |
OFF |
TRACE |
WARN |
| Modifier and Type | Method and Description |
|---|---|
static LogLevels |
mapJavaUtilLoggerLevelsToLogLevels(Level level)
Maps a Java Util log level to a PDMS log level.
|
static Level |
mapLogLevelsToJavaUtilLoggerLevels(LogLevels uLevel)
Maps a PDMS log level to a Java Util log level.
|
static LogLevels |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogLevels[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogLevels OFF
public static final LogLevels ERROR
public static final LogLevels WARN
public static final LogLevels INFO
public static final LogLevels DEBUG
public static final LogLevels TRACE
public static final LogLevels ALL
public static LogLevels[] values()
for (LogLevels c : LogLevels.values()) System.out.println(c);
public static LogLevels 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 Level mapLogLevelsToJavaUtilLoggerLevels(LogLevels uLevel)
uLevel - a PDMS log levelCopyright © 2016 SAP. All Rights Reserved.