Clients should normally use the predefined Level constants such as Level.SEVERE.
The levels in descending order are:
Object
goog.debug.Logger.Level
|
name
:
The name of the level.
|
|
value
:
The numeric value of the level.
|
goog.debug.Logger.Level.createPredefinedLevelsCache_()
Creates the predefined levels cache and populates it.
|
code » | ||
|
Gets the predefined level with the given name.
Arguments:
Returns:
The level, or null if none found.
|
code » | ||
|
Gets the highest predefined level <= #value.
Arguments:
Returns:
The level, or null if none found.
|
code » |
|
ALL indicates that all messages should be logged.
This level is initialized to
Number.MIN_VALUE.
|
Code » | |
|
CONFIG is a message level for static configuration messages.
This level is initialized to
700.
|
Code » | |
|
FINE is a message level providing tracing information.
This level is initialized to
500.
|
Code » | |
|
FINER indicates a fairly detailed tracing message.
This level is initialized to
400.
|
Code » | |
|
FINEST indicates a highly detailed tracing message.
This level is initialized to
300.
|
Code » | |
|
INFO is a message level for informational messages.
This level is initialized to
800.
|
Code » | |
|
OFF is a special level that can be used to turn off logging.
This level is initialized to
Number.MAX_VALUE.
|
Code » | |
|
The predefined levels.
|
Code » | |
|
SEVERE is a message level indicating a serious failure.
This level is initialized to
1000.
|
Code » | |
|
SHOUT is a message level for extra debugging loudness.
This level is initialized to
1200.
|
Code » | |
|
WARNING is a message level indicating a potential problem.
This level is initialized to
900.
|
Code » | |
|
A lookup map used to find the level object based on the name or value of
the level object.
|
Code » |