cern.cmw.adm
Class LogLevel

java.lang.Object
  extended by cern.cmw.adm.LogLevel

public class LogLevel
extends Object

A wrapper class for the admin::ServerAdmin::LogLevel enum.


Field Summary
static int ALL
          A special level which indicates that all messages shall be logged.
static int DEBUG
          A message level providing highly detailed tracing information.
static int ERROR
          A message level indicating a serious problem.
static int INFO
          A message level for information messages.
static int OFF
          A special level that can be used to turn off logging.
static int TRACE
          A message level providing tracing information.
static int WARNING
          A message level indicating a potential problem.
 
Constructor Summary
LogLevel()
           
 
Method Summary
static String toString(int level)
          Returns the string representation of the specified \a level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OFF

public static final int OFF
A special level that can be used to turn off logging.

See Also:
Constant Field Values

ERROR

public static final int ERROR
A message level indicating a serious problem.

See Also:
Constant Field Values

WARNING

public static final int WARNING
A message level indicating a potential problem.

See Also:
Constant Field Values

INFO

public static final int INFO
A message level for information messages.

See Also:
Constant Field Values

TRACE

public static final int TRACE
A message level providing tracing information.

See Also:
Constant Field Values

DEBUG

public static final int DEBUG
A message level providing highly detailed tracing information.

See Also:
Constant Field Values

ALL

public static final int ALL
A special level which indicates that all messages shall be logged.

See Also:
Constant Field Values
Constructor Detail

LogLevel

public LogLevel()
Method Detail

toString

public static String toString(int level)
Returns the string representation of the specified \a level.



Copyright © 2007 CERN. All Rights Reserved.