com.ibm.mashups.enabler.logging
Interface LogLevel


public LogLevel

The LogLevel class defines a set of standard logging levels that can be used to control logging output. The logging levels are internally ordered. Enabling logging at a given level also enables logging at all higher levels. Clients should normally use the predefined Level constants such as com.ibm.mashups.enabler.logging.LogLevel.SEVERE. The levels in descending order are:


Field Summary
 int TRACE
           TRACE is a message level providing tracing information.
 int INFO
           INFO is a message level for informational messages.
 int WARNING
           WARNING is a message level indicating a potential problem.
 int SEVERE
           SEVERE is a message level indicating a serious failure.
 

Field Detail

TRACE

int TRACE
TRACE is a message level providing tracing information.

TRACE is intended for relatively detailed tracing. The exact meaning of the this levels will vary between subsystems. In general the TRACE level should be used for information that will be broadly interesting to developers who do not have a specialized interest in the specific subsystem.

TRACE messages might include things like minor (recoverable) failures. Issues indicating potential performance problems are also worth logging as FINE. This level is initialized to 500.


INFO

int INFO
INFO is a message level for informational messages.

Typically INFO messages will be written to the console or its equivalent (like the system messages widget). So the INFO level should only be used for reasonably significant messages that will make sense to end users and system admins. This level is initialized to 800.


WARNING

int WARNING
WARNING is a message level indicating a potential problem.

In general WARNING messages should describe events that will be of interest to end users or system managers, or which indicate potential problems. This level is initialized to 900.


SEVERE

int SEVERE
SEVERE is a message level indicating a serious failure.

In general SEVERE messages should describe events that are of considerable importance and which will prevent normal program execution. They should be reasonably intelligible to end users and to system administrators. This level is initialized to 1000.



Copyright IBM Corp. 2010 All Rights Reserved.