Level

Defines a message level that may be used to control logging output.

Constructor

new Level(name, level)

Parameters:
NameTypeDescription
namestring

the level's name.

levelnumber

the level's numeric value.

Members

name

This logger's name.

value

The numeric log level.

(static, constant) ALL

Indicates all log messages should be recorded.

(static, constant) DEBUG

Log messages with a level of 700 or higher.

(static, constant) FINE

Log messages with a level of 500 or higher.

(static, constant) FINER

Log messages with a level of 400 or higher.

(static, constant) FINEST

Log messages with a level of 300 or higher.

(static, constant) INFO

Log messages with a level of 800 or higher.

(static, constant) OFF

Indicates no log messages should be recorded.

(static, constant) SEVERE

Log messages with a level of 1000 or higher.

(static, constant) WARNING

Log messages with a level of 900 or higher.

Methods

toString()