net.spy.log
Class Level

java.lang.Object
  extended by net.spy.log.Level

public final class Level
extends java.lang.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
 java.lang.String getName()
          Get the name of this level.
 java.lang.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 java.lang.String getName()
Get the name of this level.


toString

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

Overrides:
toString in class java.lang.Object


Copyright © 1995-2005 SPY Internetworking. All Rights Reserved.