| Package | system.logging |
| Class | public class LoggerLevel |
| Inheritance | LoggerLevel Enum Object |
| Implements | Equatable |
| Property | Defined By | ||
|---|---|---|---|
| DEFAULT_LEVEL_STRING : String = UNKNOWN [static]
The default string level value in the getLevelString() method. | LoggerLevel | ||
| Method | Defined By | ||
|---|---|---|---|
LoggerLevel(value:int, name:String)
Creates a new LoggerLevel instance. | LoggerLevel | ||
equals(o:*):Boolean
Compares the specified object with this object for equality. | LoggerLevel | ||
getLevel(value:int):LoggerLevel [static]
Returns true if the number level passed in argument is valid. | LoggerLevel | ||
getLevelString(value:LoggerLevel):String [static]
Returns a String value representing the level specified. | LoggerLevel | ||
isValidLevel(level:LoggerLevel):Boolean [static]
Returns true if the number level passed in argument is valid. | LoggerLevel | ||
![]() | toSource(indent:int = 0):String
Returns the source code String representation of the object. | Enum | |
![]() | toString():String
Returns the String representation of the object. | Enum | |
![]() | valueOf():int
Returns the primitive value of the object. | Enum | |
| Constant | Defined By | ||
|---|---|---|---|
| ALL : LoggerLevel [static]
Intended to force a target to process all messages (1). | LoggerLevel | ||
| DEBUG : LoggerLevel [static]
Designates informational level messages that are fine grained and most helpful when debugging an application (2). | LoggerLevel | ||
| ERROR : LoggerLevel [static]
Designates error events that might still allow the application to continue running (8). | LoggerLevel | ||
| FATAL : LoggerLevel [static]
Designates events that are very harmful and will eventually lead to application failure (16). | LoggerLevel | ||
| INFO : LoggerLevel [static]
Designates informational messages that highlight the progress of the application at coarse-grained level (4). | LoggerLevel | ||
| NONE : LoggerLevel [static]
A special level that can be used to turn off logging (0). | LoggerLevel | ||
| WARN : LoggerLevel [static]
Designates events that could be harmful to the application operation (6). | LoggerLevel | ||
| WTF : LoggerLevel [static]
What a Terrible Failure: designates an exception that should never happen. | LoggerLevel | ||
| DEFAULT_LEVEL_STRING | property |
public static var DEFAULT_LEVEL_STRING:String = UNKNOWNThe default string level value in the getLevelString() method.
| LoggerLevel | () | Constructor |
public function LoggerLevel(value:int, name:String)Creates a new LoggerLevel instance.
Parametersvalue:int — The value of the enumeration.
| |
name:String — The name key of the enumeration.
|
| equals | () | method |
public function equals(o:*):BooleanCompares the specified object with this object for equality.
Parameters
o:* |
Boolean — true if the the specified object is equal with this object.
|
| getLevel | () | method |
public static function getLevel(value:int):LoggerLevel
Returns true if the number level passed in argument is valid.
Parameters
value:int |
LoggerLevel — true if the number level passed in argument is valid.
|
| getLevelString | () | method |
public static function getLevelString(value:LoggerLevel):StringReturns a String value representing the level specified.
Parameters
value:LoggerLevel |
String — a String value representing the level specified.
|
| isValidLevel | () | method |
public static function isValidLevel(level:LoggerLevel):Boolean
Returns true if the number level passed in argument is valid.
Parameters
level:LoggerLevel |
Boolean — true if the number level passed in argument is valid.
|
| ALL | Constant |
public static const ALL:LoggerLevelIntended to force a target to process all messages (1).
| DEBUG | Constant |
public static const DEBUG:LoggerLevelDesignates informational level messages that are fine grained and most helpful when debugging an application (2).
| ERROR | Constant |
public static const ERROR:LoggerLevelDesignates error events that might still allow the application to continue running (8).
| FATAL | Constant |
public static const FATAL:LoggerLevelDesignates events that are very harmful and will eventually lead to application failure (16).
| INFO | Constant |
public static const INFO:LoggerLevelDesignates informational messages that highlight the progress of the application at coarse-grained level (4).
| NONE | Constant |
public static const NONE:LoggerLevelA special level that can be used to turn off logging (0).
| WARN | Constant |
public static const WARN:LoggerLevelDesignates events that could be harmful to the application operation (6).
| WTF | Constant |
public static const WTF:LoggerLevelWhat a Terrible Failure: designates an exception that should never happen. (32).