Severitiespublic class Severities
extends java.lang.Object
| Modifier and Type | Field | Description | 
|---|---|---|
static int | 
ALERT | 
 A particular service is in an unusable state. 
 | 
static java.lang.String | 
ALERT_TEXT | 
 Severity ALERT denoted by the value "Alert" 
 | 
static int | 
CRITICAL | 
 A system or service level error has occured. 
 | 
static java.lang.String | 
CRITICAL_TEXT | 
 Severity CRITICAL denoted by the value "Critical" 
 | 
static int | 
DEBUG | 
 A debug message. 
 | 
static java.lang.String | 
DEBUG_TEXT | 
 Severity DEBUG denoted by the value "Debug" 
 | 
static int | 
EMERGENCY | 
 The server is in an unusable state. 
 | 
static java.lang.String | 
EMERGENCY_TEXT | 
 Severity EMERGENCY denoted by the value "Emergency" 
 | 
static int | 
ERROR | 
 A user level error has occured. 
 | 
static java.lang.String | 
ERROR_TEXT | 
 Severity ERROR denoted by the value "Error" 
 | 
static int | 
INFO | 
 An informational message. 
 | 
static java.lang.String | 
INFO_TEXT | 
 Severity INFO denoted by the value "Info" 
 | 
static int | 
NOTICE | 
 A particularly important warning or informational message. 
 | 
static java.lang.String | 
NOTICE_TEXT | 
 Severity NOTICE denoted by the value "Notice" 
 | 
static int | 
OFF | 
 All messages are turned off. 
 | 
static java.lang.String | 
OFF_TEXT | 
 Severity OFF denoted by the value "Off" 
 | 
static int | 
TRACE | 
 A trace message. 
 | 
static java.lang.String | 
TRACE_TEXT | 
 Severity TRACE denoted by the value "Trace" 
 | 
static int | 
WARNING | 
 A warning message. 
 | 
static java.lang.String | 
WARNING_TEXT | 
 Severity WARNING denoted by the value "Warning" 
 | 
| Modifier and Type | Method | Description | 
|---|---|---|
static int | 
getSeverity(java.util.logging.Level level) | 
 Maps a Level object to a severity code. 
 | 
public static final int OFF
public static final java.lang.String OFF_TEXT
public static final int EMERGENCY
public static final java.lang.String EMERGENCY_TEXT
public static final int ALERT
public static final java.lang.String ALERT_TEXT
public static final int CRITICAL
public static final java.lang.String CRITICAL_TEXT
public static final int ERROR
public static final java.lang.String ERROR_TEXT
public static final int WARNING
public static final java.lang.String WARNING_TEXT
public static final int NOTICE
public static final java.lang.String NOTICE_TEXT
public static final int INFO
public static final java.lang.String INFO_TEXT
public static final int DEBUG
public static final java.lang.String DEBUG_TEXT
public static final int TRACE
public static final java.lang.String TRACE_TEXT