| |
|
| java.lang.Object com.enterprisedt.util.debug.Level
Level | public class Level (Code) | | 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)
author: Bruce Blackshaw version: $Revision: 1.8 $ |
ALL_INT | final static int ALL_INT(Code) | | |
DEBUG_INT | final static int DEBUG_INT(Code) | | |
ERROR_INT | final static int ERROR_INT(Code) | | |
FATAL_INT | final static int FATAL_INT(Code) | | |
INFO_INT | final static int INFO_INT(Code) | | |
LEVEL_COUNT | final static int LEVEL_COUNT(Code) | | |
OFF_INT | final static int OFF_INT(Code) | | |
WARN_INT | final static int WARN_INT(Code) | | |
cvsId | final public static String cvsId(Code) | | Revision control id
|
getLevel | public int getLevel()(Code) | | Get integer log level
log level |
getLevel | public static Level getLevel(String level)(Code) | | Get level from supplied string
Parameters: level - level as a string level object or null if not found |
isGreaterOrEqual | boolean isGreaterOrEqual(Level l)(Code) | | Is this level greater or equal to the supplied level
Parameters: l - level to test against true if greater or equal to, false if less than |
toString | public String toString()(Code) | | String representation
string |
|
|
|