com.pelzer.util
Class Logging.Priority

java.lang.Object
  extended by com.pelzer.util.Logging.Priority
Enclosing class:
Logging

public static final class Logging.Priority
extends Object

This class has been added to wrap the older Log4j-style priorities into the SDK-style Levels. The only way to access this class is to use the static final objects.


Field Summary
static Logging.Priority ALL
          Special priority, maps to Level.ALL
static Logging.Priority DEBUG
          Maps to Level.FINE
static Logging.Priority ERROR
          Maps to Level.WARNING
static Logging.Priority FATAL
          Maps to Level.SEVERE
static Logging.Priority INFO
          Maps to Level.CONFIG
static Logging.Priority OBNOXIOUS
          Maps to Level.FINEST
static Logging.Priority OFF
          Special priority, maps to Level.OFF
static Logging.Priority VERBOSE
          Maps to Level.FINER
static Logging.Priority WARN
          Maps to Level.INFO
 
Method Summary
 Level getLevel()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

OBNOXIOUS

public static final Logging.Priority OBNOXIOUS
Maps to Level.FINEST


VERBOSE

public static final Logging.Priority VERBOSE
Maps to Level.FINER


DEBUG

public static final Logging.Priority DEBUG
Maps to Level.FINE


INFO

public static final Logging.Priority INFO
Maps to Level.CONFIG


WARN

public static final Logging.Priority WARN
Maps to Level.INFO


ERROR

public static final Logging.Priority ERROR
Maps to Level.WARNING


FATAL

public static final Logging.Priority FATAL
Maps to Level.SEVERE


ALL

public static final Logging.Priority ALL
Special priority, maps to Level.ALL


OFF

public static final Logging.Priority OFF
Special priority, maps to Level.OFF

Method Detail

getLevel

public Level getLevel()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012. All Rights Reserved.