|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.compoze.collab.log.LogLevel
This enumeration class contains the available log levels. Five log levels
(TRACE
, DEBUG
, INFO
, WARN
and
ERROR
are available, in order of increasing severity.
Field Summary | |
static LogLevel |
DEBUG
Next-to-lowest level of severity used for debugging applications- will usually be disabled in production. |
static LogLevel |
ERROR
Highest level of severity- indicates definite problems. |
static LogLevel |
INFO
Middle level of severity- useful informational messages. |
static LogLevel |
TRACE
Lowest level of severity, used for messages that can become extremely verbose such as network traces or data dumps- will usually be disabled in production. |
static int |
VALUE_DEBUG
The int value used for the debug log level. |
static int |
VALUE_ERROR
The int value used for the error log level. |
static int |
VALUE_INFO
The int value used for the info log level. |
static int |
VALUE_TRACE
The int value used for the trace log level. |
static int |
VALUE_WARN
The int value used for the warn log level. |
static LogLevel |
WARN
Next-to-highest level of severity- potential problems that need to be evaluated. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getDescription()
Gets a description for the log level in the default locale. |
java.lang.String |
getDescription(java.util.Locale locale)
Gets a description for the log level. |
int |
getIntValue()
Gets an integer value for the log level. |
java.lang.String |
getName()
Gets a readable name for the log level in the default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets a readable name for the log level. |
java.lang.String |
toString()
Creates a string representation of the log level for debugging purposes. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int VALUE_TRACE
public static final int VALUE_DEBUG
public static final int VALUE_INFO
public static final int VALUE_WARN
public static final int VALUE_ERROR
public static final LogLevel TRACE
public static final LogLevel DEBUG
public static final LogLevel INFO
public static final LogLevel WARN
public static final LogLevel ERROR
Method Detail |
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale
- the locale to get the name of the log level inpublic java.lang.String getDescription()
public java.lang.String getDescription(java.util.Locale locale)
locale
- the locale to get the description inpublic int getIntValue()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Object.equals(java.lang.Object)
public java.lang.String toString()
toString
in class java.lang.Object
null
)
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |