This abtract class contains definitions for the message's levels.
The predefined levels are: ALL, LOG, DEBUG, INFO, WARN, ERROR, FATAL and NONE.
| static | Level | ALL = newLevel("ALL",1) | |
| static | Level | LOG = newLevel("LOG",1) | |
| static | Level | DEBUG = newLevel("DEBUG",2) | |
| static | Level | INFO = newLevel("INFO",4) | |
| static | Level | WARN = newLevel("WARN",8) | |
| static | Level | ERROR = newLevel("ERROR",16) | |
| static | Level | FATAL = newLevel("FATAL",32) | |
| static | Level | NONE = newLevel("NONE",1024) |
Level(name:String, value:Number) |
getName() | |||
getValue() | |||
toString() |
static ALL:Level = newLevel("ALL",1)
The ALL level designates the lowest level possible.
static LOG:Level = newLevel("LOG",1)
The LOG level designates fine-grained informational events.
static DEBUG:Level = newLevel("DEBUG",2)
The DEBUG level designates fine-grained debug information.
static INFO:Level = newLevel("INFO",4)
The INFO level designates informational messages that highlight the progress of the application at coarse-grained level.
static WARN:Level = newLevel("WARN",8)
The WARN level designates potentially harmful situations.
static ERROR:Level = newLevel("ERROR",16)
The ERROR level designates error events that might still allow the application to continue running.
static FATAL:Level = newLevel("FATAL",32)
The FATAL level designates very severe error events that will presumably lead the application to abort or stop.
static NONE:Level = newLevel("NONE",1024)
The NONE level when used with setLevel makes all messages to be ignored.
private Level(name:String,
value:Number)
getName():String
Returns the level's name.
getValue():Number
Returns the level's bitwise value.
toString():String
Return the level's name.