|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcern.cmw.LogLevel
public class LogLevel
Defines a set of standard logging levels that can be used to control logging output. The levels are ordered by "verbosity" of the log output: - DEBUG (highest) - TRACE - INFO - WARNING - ERROR (lowest) Enabling logging at a given level also enables logging at all lower levels.
Logger
Field Summary | |
---|---|
static LogLevel |
ALL
A special level which indicates that all messages shall be logged. |
static LogLevel |
DEBUG
A message level providing highly detailed tracing information. |
static LogLevel |
ERROR
A message level indicating a serious problem. |
static LogLevel |
INFO
A message level for information messages |
static LogLevel |
OFF
A special level that can be used to turn off logging. |
static LogLevel |
TRACE
A message level providing tracing information. |
static LogLevel |
WARNING
A message level indicating a potential problem. |
Method Summary | |
---|---|
boolean |
encompasses(LogLevel level)
Returns true if the level supplied is encompassed by this level. |
boolean |
equals(LogLevel level)
Returns true if the specified level is equal to this level. |
static LogLevel |
fromCorba(cern.cmw.corba.admin.ServerAdminPackage.LogLevel level)
|
String |
getName()
Returns the string name of the LogLevel. |
static LogLevel |
parse(String name)
Returns the log level corresponding to the given name. |
cern.cmw.corba.admin.ServerAdminPackage.LogLevel |
toCorba()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final LogLevel OFF
public static final LogLevel ERROR
public static final LogLevel WARNING
public static final LogLevel INFO
public static final LogLevel TRACE
public static final LogLevel DEBUG
public static final LogLevel ALL
Method Detail |
---|
public static LogLevel parse(String name) throws BadParameter
BadParameter
- indicates that the string doesn't correspond to a log levelpublic String getName()
public boolean equals(LogLevel level)
public boolean encompasses(LogLevel level)
public cern.cmw.corba.admin.ServerAdminPackage.LogLevel toCorba()
public static LogLevel fromCorba(cern.cmw.corba.admin.ServerAdminPackage.LogLevel level)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |