public enum LoggingLevel extends Enum<LoggingLevel>
| Enum Constant and Description |
|---|
DEBUG |
ERROR |
FATAL |
INFO |
OFF |
TRACE |
WARN |
| Modifier and Type | Method and Description |
|---|---|
ch.qos.logback.classic.Level |
getLevel() |
static LoggingLevel |
getLevel(ch.qos.logback.classic.Level level) |
static ch.qos.logback.classic.Level |
getLevelFromInt(int intLevel) |
static LoggingLevel |
getLevelFromString(String stringLevel) |
int |
toInt() |
static LoggingLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoggingLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggingLevel OFF
public static final LoggingLevel FATAL
public static final LoggingLevel ERROR
public static final LoggingLevel WARN
public static final LoggingLevel INFO
public static final LoggingLevel DEBUG
public static final LoggingLevel TRACE
public static LoggingLevel[] values()
for (LoggingLevel c : LoggingLevel.values()) System.out.println(c);
public static LoggingLevel 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 ch.qos.logback.classic.Level getLevel()
public static LoggingLevel getLevel(ch.qos.logback.classic.Level level)
public static ch.qos.logback.classic.Level getLevelFromInt(int intLevel)
public static LoggingLevel getLevelFromString(String stringLevel)
public int toInt()
Copyright © 2012–2017 Tango Controls. All rights reserved.