public static enum SyslogHandler.Severity extends Enum<SyslogHandler.Severity>
Enum Constant and Description |
---|
ALERT |
CRITICAL |
DEBUG |
EMERGENCY |
ERROR |
INFORMATIONAL |
NOTICE |
WARNING |
Modifier and Type | Method and Description |
---|---|
static SyslogHandler.Severity |
fromLevel(Level level)
|
String |
toString() |
static SyslogHandler.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyslogHandler.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyslogHandler.Severity EMERGENCY
public static final SyslogHandler.Severity ALERT
public static final SyslogHandler.Severity CRITICAL
public static final SyslogHandler.Severity ERROR
public static final SyslogHandler.Severity WARNING
public static final SyslogHandler.Severity NOTICE
public static final SyslogHandler.Severity INFORMATIONAL
public static final SyslogHandler.Severity DEBUG
public static SyslogHandler.Severity[] values()
for (SyslogHandler.Severity c : SyslogHandler.Severity.values()) System.out.println(c);
public static SyslogHandler.Severity 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 String toString()
toString
in class Enum<SyslogHandler.Severity>
public static SyslogHandler.Severity fromLevel(Level level)
level
- the level to mapCopyright © 2021 JBoss by Red Hat. All rights reserved.