net.spy.log
Class Level

java.lang.Object
  extended bynet.spy.log.Level

public final class Level
extends Object

Levels for logging.


Field Summary
static Level DEBUG
          Debug level.
static Level ERROR
          Error level.
static Level FATAL
          Fatal level.
static Level INFO
          Info level.
static Level WARN
          Warning level.
 
Method Summary
 String getName()
          Get the name of this level.
 String toString()
          Get a string representation of this level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEBUG

public static final Level DEBUG
Debug level.


INFO

public static final Level INFO
Info level.


WARN

public static final Level WARN
Warning level.


ERROR

public static final Level ERROR
Error level.


FATAL

public static final Level FATAL
Fatal level.

Method Detail

getName

public String getName()
Get the name of this level.


toString

public String toString()
Get a string representation of this level.