|
edtFTPj | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.enterprisedt.util.debug.Level
public class Level
Simple debug level class. Uses the same interface (but not implementation) as log4j, so that the debug classes could be easily replaced by log4j (by changing imports - too dangerous to rely on class path and using the same package names)
Field Summary | |
---|---|
static Level |
ALL
All level |
static String |
cvsId
Revision control id |
static Level |
DEBUG
Debug level |
static Level |
ERROR
OFF level |
static Level |
FATAL
Fatal level |
static Level |
INFO
Info level |
static Level |
OFF
Off level |
static Level |
WARN
Warn level |
Method Summary | |
---|---|
static Level |
getLevel(String level)
Get level from supplied string |
String |
toString()
String representation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String cvsId
public static final Level OFF
public static final Level FATAL
public static final Level ERROR
public static final Level WARN
public static final Level INFO
public static final Level DEBUG
public static final Level ALL
Method Detail |
---|
public static Level getLevel(String level)
level
- level as a string
public String toString()
toString
in class Object
|
edtFTPj | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |