|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.collab.log.LogLevel
public class 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(Object obj)
|
static LogLevel |
get(int iValue)
Gets the log level for an integer value. |
String |
getDescription()
Gets a description for the log level in the default locale. |
String |
getDescription(Locale locale)
Gets a description for the log level. |
int |
getIntValue()
Gets an integer value for the log level. |
String |
getName()
Gets a readable name for the log level in the default locale. |
String |
getName(Locale locale)
Gets a readable name for the log level. |
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 String getName()
public String getName(Locale locale)
locale
- the locale to get the name of the log level in
public String getDescription()
public String getDescription(Locale locale)
locale
- the locale to get the description in
public int getIntValue()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public static LogLevel get(int iValue)
null
if no match.public String toString()
toString
in class Object
null
)
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |