Package com.ibm.websphere.logging
Class WsLevel
java.lang.Object
java.util.logging.Level
com.ibm.websphere.logging.WsLevel
- All Implemented Interfaces:
Serializable
The 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:
-
Field Summary
Fields -
Method Summary
Methods inherited from class java.util.logging.Level
equals, getLocalizedName, getName, getResourceBundleName, hashCode, intValue, toString
-
Field Details
-
FATAL
FATAL is higher than SEVERE. -
ERROR
ERROR is the same as SEVERE. -
AUDIT
AUDIT is in between INFO and WARNING -
EVENT
EVENT is the same as FINE -
DETAIL
DETAIL is after CONFIG.
-
-
Method Details
-
parse
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.- 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:
IllegalArgumentException
NullPointerException
-