com.ibm.websphere.logging

Class RawTraceList.PatternLevel

  1. java.lang.Object
  2. extended bycom.ibm.ejs.ras.RawTraceList.PatternLevel
  3. extended bycom.ibm.websphere.logging.RawTraceList.PatternLevel
Enclosing class:
RawTraceList

  1. public static class RawTraceList.PatternLevel
  2. extends RawTraceList.PatternLevel
PatternLevel is the class of objects stored in the RawTraceList. They consist of a logger name pattern (which can end in asterisk (*)) and a level which represents the minimum level at which that logger can log.

Field Summary

Fields inherited from class com.ibm.ejs.ras.RawTraceList.PatternLevel
SPLIT_STRING, WILDCARD_STRING

Constructor Summary

Constructor and Description
RawTraceList.PatternLevel(java.lang.String patternString)
construct a PatternLevel object with a patternString of the form: loggerNamePattern=level such as com.mycompany.app1.
RawTraceList.PatternLevel(java.lang.String loggerNamePattern,java.util.logging.Level minimumLevel)
construct a PatternLevel object with a logger name pattern and a level

Method Summary

Methods inherited from class com.ibm.ejs.ras.RawTraceList.PatternLevel
compareTo, getLevel, getLoggerName, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

RawTraceList.PatternLevel

  1. public RawTraceList.PatternLevel( java.lang.String loggerNamePattern,
  2. java.util.logging.Level minimumLevel)
  3. throws com.ibm.ejs.ras.DuplicateKeyException
  4. java.lang.IllegalArgumentException
construct a PatternLevel object with a logger name pattern and a level
Parameters:
loggerNamePattern - pattern that will match a logger name exactly, or end in an asterisk (*) and thus match all loggers that begin with that name
minimumLevel - lowest level at which the logger can log. Any attempt to change the loggers level below this level will be rejected
Throws:
com.ibm.ejs.ras.DuplicateKeyException - this loggerNamePattern is already in the list
java.lang.IllegalArgumentException - the args are not allowable

RawTraceList.PatternLevel

  1. public RawTraceList.PatternLevel( java.lang.String patternString)
  2. throws com.ibm.ejs.ras.DuplicateKeyException
  3. java.lang.IllegalArgumentException
construct a PatternLevel object with a patternString of the form: loggerNamePattern=level such as com.mycompany.app1.*=fine
Parameters:
patternString - pattern that will parse around the = to a logger name pattern and a level
Throws:
com.ibm.ejs.ras.DuplicateKeyException - this loggerNamePattern is already in the list
java.lang.IllegalArgumentException - the args are not allowable