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.Level
The added levels include
- FATAL
- SERVICE
- DETAIL
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
AUDIT
AUDIT is after WARNING
|
|
DETAIL
DETAIL is after CONFIG.
|
|
FATAL
FATAL is higher than SEVERE.
|
|
LEVEL_VALUES
Sorted array of level values
|
|
LEVELS
Sorted array of distinct levels.
|
Fields inherited from class java.util.logging.Level |
---|
ALL, CONFIG, FINE, FINER, FINEST, INFO, OFF, SEVERE, WARNING |
Method Summary
Modifier and Type | Method and Description |
---|---|
|
parse(java.lang.String name)
This parse method is based on the java util logging's Level.parse(String) method with the addition of
support for WebSphere type levels such as FATAL, AUDIT, and DETAIL.
|
Methods inherited from class java.util.logging.Level |
---|
equals, getLocalizedName, getName, getResourceBundleName, hashCode, intValue, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail
FATAL
- public static final java.util.logging.Level FATAL
FATAL is higher than SEVERE.
AUDIT
- public static final java.util.logging.Level AUDIT
AUDIT is after WARNING
DETAIL
- public static final java.util.logging.Level DETAIL
DETAIL is after CONFIG.
LEVELS
- public static java.util.logging.Level[] LEVELS
Sorted array of distinct levels.
This array is used to map level types defined in LevelConstants to Level objects.
LEVEL_VALUES
- public static int[] LEVEL_VALUES
Sorted array of level values
Method Detail
parse
- public static java.util.logging.Level parse( java.lang.String name)
- throws java.lang.IllegalArgumentException
- java.lang.NullPointerException
This parse method is based on the java util logging's 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.IllegalArgumentException
java.lang.NullPointerException