com.ibm.websphere.logging

Class WsLevel

  1. java.lang.Object
  2. extended byjava.util.logging.Level
  3. extended bycom.ibm.websphere.logging.WsLevel
All implemented interfaces:
java.io.Serializable

  1. public class WsLevel
  2. extends java.util.logging.Level
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:
Serialized Form

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.util.logging.Level
AUDIT
AUDIT is in between INFO and WARNING
  1. static
  2. java.util.logging.Level
DETAIL
DETAIL is after CONFIG.
  1. static
  2. java.util.logging.Level
ERROR
ERROR is the same as SEVERE.
  1. static
  2. java.util.logging.Level
EVENT
EVENT is the same as FINE
  1. static
  2. java.util.logging.Level
FATAL
FATAL is higher than SEVERE.
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
  1. static
  2. java.util.logging.Level
parse(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.
Methods inherited from class java.util.logging.Level
equals, getLocalizedName, getName, getResourceBundleName, hashCode, intValue, toString
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

Field Detail

FATAL

  1. public static final java.util.logging.Level FATAL
FATAL is higher than SEVERE.

ERROR

  1. public static final java.util.logging.Level ERROR
ERROR is the same as SEVERE.

AUDIT

  1. public static final java.util.logging.Level AUDIT
AUDIT is in between INFO and WARNING

EVENT

  1. public static final java.util.logging.Level EVENT
EVENT is the same as FINE

DETAIL

  1. public static final java.util.logging.Level DETAIL
DETAIL is after CONFIG.

Method Detail

parse

  1. public static java.util.logging.Level parse( java.lang.String name)
  2. throws java.lang.IllegalArgumentException
  3. java.lang.NullPointerException
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:
java.lang.IllegalArgumentException
java.lang.NullPointerException