Sonic Management API

com.sonicsw.mf.common.runtime
Class Level

java.lang.Object
  extended by com.sonicsw.mf.common.runtime.Level

public final class Level
extends java.lang.Object

Defines a standard set of logging severity levels. It is intended as a way of partially replicating what is comming in the java.util.logging package in JDK 1.4.

It is intended for use when logging messages through a component context, registering a component error condition through the component context, etc.


Field Summary
static int CONFIG
          CONFIG is a message/notification level for static configuration messages.
static int FINE
          FINE is a message level providing tracing information.
static int FINER
          FINER indicates a fairly detailed tracing message.
static int FINEST
          FINEST indicates a highly detailed tracing message.
static int INFO
          INFO is a message/notification level for informational messages.
static java.lang.String[] LEVEL_TEXT
          Textual representations of levels.
static int SEVERE
          SEVERE is a message/notification level indicating a serious failure.
static int TRACE
          TRACE is the same value as FINEST.
static int UNKNOWN
          UNKNOWN is an undefined level and should not be generally used,
static int WARNING
          WARNING is a message/notification level indicating a potential problem.
 
Constructor Summary
Level()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG

public static final int CONFIG
CONFIG is a message/notification level for static configuration messages.

See Also:
Constant Field Values

FINE

public static final int FINE
FINE is a message level providing tracing information.

See Also:
Constant Field Values

FINER

public static final int FINER
FINER indicates a fairly detailed tracing message.

See Also:
Constant Field Values

FINEST

public static final int FINEST
FINEST indicates a highly detailed tracing message.

See Also:
Constant Field Values

INFO

public static final int INFO
INFO is a message/notification level for informational messages.

See Also:
Constant Field Values

LEVEL_TEXT

public static final java.lang.String[] LEVEL_TEXT
Textual representations of levels.


SEVERE

public static final int SEVERE
SEVERE is a message/notification level indicating a serious failure.

See Also:
Constant Field Values

TRACE

public static final int TRACE
TRACE is the same value as FINEST. It is reserved for tracing information generated for debugging.

See Also:
Constant Field Values

UNKNOWN

public static final int UNKNOWN
UNKNOWN is an undefined level and should not be generally used,

See Also:
Constant Field Values

WARNING

public static final int WARNING
WARNING is a message/notification level indicating a potential problem.

See Also:
Constant Field Values
Constructor Detail

Level

public Level()

Sonic Management API

Copyright © 2001-2010 Progress Software Corporation. All Rights Reserved.
HTML formatted on 16-Sep-2010.