Package com.ibm.websphere.logging
Class WsLevel
- java.lang.Object
-
- java.util.logging.Level
-
- com.ibm.websphere.logging.WsLevel
-
- All Implemented Interfaces:
java.io.Serializable
public class WsLevel extends java.util.logging.LevelThe WsLevel class extends the java.util.logging.Level class, which defines a set of standard logging levels that can be used to control logging output. We extend that class to add WebSphere-specific levels, since the base set of levels are inadequate.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.logging.LevelAUDITAUDIT is in between INFO and WARNINGstatic java.util.logging.LevelDETAILDETAIL is after CONFIG.static java.util.logging.LevelERRORERROR is the same as SEVERE.static java.util.logging.LevelEVENTEVENT is the same as FINEstatic java.util.logging.LevelFATALFATAL is higher than SEVERE.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.logging.Levelparse(java.lang.String name)This parse method is based on the Level.parse(String) method with the addition of support for WebSphere type levels such as FATAL, AUDIT, and DETAIL.
-
-
-
Field Detail
-
FATAL
public static final java.util.logging.Level FATAL
FATAL is higher than SEVERE.
-
ERROR
public static final java.util.logging.Level ERROR
ERROR is the same as SEVERE.
-
AUDIT
public static final java.util.logging.Level AUDIT
AUDIT is in between INFO and WARNING
-
EVENT
public static final java.util.logging.Level EVENT
EVENT is the same as FINE
-
DETAIL
public static final java.util.logging.Level DETAIL
DETAIL is after CONFIG.
-
-
Method Detail
-
parse
public static java.util.logging.Level parse(java.lang.String name) throws java.lang.IllegalArgumentException, java.lang.NullPointerExceptionThis parse method is based on the Level.parse(String) method with the addition of support for WebSphere type levels such as FATAL, AUDIT, and DETAIL.- Parameters:
name- name of a WebSphere Level or java.util.logging Level to be parsed- Returns:
- Level Level object that matches the name parameter passed to this method
- Throws:
java.lang.IllegalArgumentExceptionjava.lang.NullPointerException
-
-