Top Description Fields Constructors Methods
org.osgi.service.log

public final Enum LogLevel

extends Enum<LogLevel>
Class Inheritance

Log Levels.
Author
$Id: ebc1f14a473016752d4e42faa23df59113008f3e $
Since
1.4

Field Summary

Modifier and TypeField and Description
public static final LogLevel
AUDIT

Audit – Information that must always be logged.

public static final LogLevel
DEBUG

Debug – Detailed output for debugging operations.

public static final LogLevel
ERROR

Error – Information about an error situation.

public static final LogLevel
INFO

Info – Information about normal operation.

public static final LogLevel
TRACE

Trace level – Large volume of output for tracing operations.

public static final LogLevel
WARN

Warning – Information about a failure or unwanted situation that is not blocking.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true If this log level implies the specified log level; false otherwise.
implies
(LogLevel
The other log level.
other
)

Returns whether this log level implies the specified log level.

public static LogLevel
public static LogLevel[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

AUDITback to summary
public static final LogLevel AUDIT

Audit – Information that must always be logged.

DEBUGback to summary
public static final LogLevel DEBUG

Debug – Detailed output for debugging operations.

ERRORback to summary
public static final LogLevel ERROR

Error – Information about an error situation.

INFOback to summary
public static final LogLevel INFO

Info – Information about normal operation.

TRACEback to summary
public static final LogLevel TRACE

Trace level – Large volume of output for tracing operations.

WARNback to summary
public static final LogLevel WARN

Warning – Information about a failure or unwanted situation that is not blocking.

Constructor Detail

LogLevelback to summary
private LogLevel()

Method Detail

impliesback to summary
public boolean implies(LogLevel other)

Returns whether this log level implies the specified log level.

Parameters
other:LogLevel

The other log level.

Returns:boolean

true If this log level implies the specified log level; false otherwise.

valueOfback to summary
public static LogLevel valueOf(String name)
valuesback to summary
public static LogLevel[] values()