Package | org.spicefactory.lib.logging |
Class | public class LogLevel |
Inheritance | LogLevel Object |
Method | Defined By | ||
---|---|---|---|
toString():String
Returns the String representation for this log level. | LogLevel | ||
toValue():uint
Returns a numeric value representing the log level. | LogLevel |
Constant | Defined By | ||
---|---|---|---|
DEBUG : LogLevel [static]
The DEBUG level designates fine-grained informational events
that are most useful to debug an application. | LogLevel | ||
ERROR : LogLevel [static]
The ERROR level designates error events
that might still allow the application to continue running. | LogLevel | ||
FATAL : LogLevel [static]
The FATAL level designates very severe error events
that will presumably lead the application to abort. | LogLevel | ||
INFO : LogLevel [static]
The INFO level designates informational messages
that highlight the progress of the application at coarse-grained level. | LogLevel | ||
OFF : LogLevel [static]
The level to turn off all logging. | LogLevel | ||
TRACE : LogLevel [static]
The TRACE level designates very fine-grained information and
represents the lowest rank of all levels. | LogLevel | ||
WARN : LogLevel [static]
The WARN level designates potentially harmful situations. | LogLevel |
toString | () | method |
public function toString():String
Returns the String representation for this log level.
ReturnsString — the String representation for this log level
|
toValue | () | method |
public function toValue():uint
Returns a numeric value representing the log level. Log levels with higher severity have higher numeric values.
Returnsuint — the numeric value representing this log level
|
DEBUG | Constant |
public static const DEBUG:LogLevel
The DEBUG
level designates fine-grained informational events
that are most useful to debug an application.
ERROR | Constant |
public static const ERROR:LogLevel
The ERROR
level designates error events
that might still allow the application to continue running.
FATAL | Constant |
public static const FATAL:LogLevel
The FATAL
level designates very severe error events
that will presumably lead the application to abort.
INFO | Constant |
public static const INFO:LogLevel
The INFO
level designates informational messages
that highlight the progress of the application at coarse-grained level.
OFF | Constant |
public static const OFF:LogLevel
The level to turn off all logging.
TRACE | Constant |
public static const TRACE:LogLevel
The TRACE
level designates very fine-grained information and
represents the lowest rank of all levels.
WARN | Constant |
public static const WARN:LogLevel
The WARN
level designates potentially harmful situations.