Property | Defined by | ||
---|---|---|---|
label : String [read-only]
| LogLevel | ||
priority : int [read-only]
| LogLevel |
Method | Defined by | ||
---|---|---|---|
LogLevel(priority:int, label:String)
| LogLevel | ||
doesInclude(that:LogLevel):Boolean
Checks if this level also includes ("is higher than") than the given level.
| LogLevel | ||
toLevelByLabel(passedLabel:String):LogLevel
[static]
| LogLevel | ||
toLevelByPriorty(priority:int):LogLevel
[static]
| LogLevel | ||
toString():String
Standard toString() method.
| LogLevel |
Constant | Defined by | ||
---|---|---|---|
ALL : LogLevel
[static]
| LogLevel | ||
DEBUG : LogLevel
[static]
| LogLevel | ||
ERROR : LogLevel
[static]
| LogLevel | ||
FATAL : LogLevel
[static]
| LogLevel | ||
FINE : LogLevel
[static]
| LogLevel | ||
INFO : LogLevel
[static]
| LogLevel | ||
OFF : LogLevel
[static]
| LogLevel | ||
WARN : LogLevel
[static]
| LogLevel |
label | property |
label:String
[read-only]Implementation
public function get label():String
priority | property |
priority:int
[read-only]Implementation
public function get priority():int
LogLevel | () | constructor |
public function LogLevel(priority:int, label:String)
Parameters
priority:int |
|
label:String |
doesInclude | () | method |
public function doesInclude(that:LogLevel):Boolean
Checks if this level also includes ("is higher than") than the given level.
Parametersthat:LogLevel — which should be checked against
|
Boolean — true for example if this=FATAL && that=ERROR; false if this=WARN && that=DEBUG
|
toLevelByLabel | () | method |
public static function toLevelByLabel(passedLabel:String):LogLevel
Parameters
passedLabel:String |
LogLevel |
toLevelByPriorty | () | method |
public static function toLevelByPriorty(priority:int):LogLevel
Parameters
priority:int |
LogLevel |
toString | () | method |
public function toString():String
Standard toString() method.
ReturnsString — the class name and some properties.
|
ALL | constant |
public static const ALL:LogLevel
DEBUG | constant |
public static const DEBUG:LogLevel
ERROR | constant |
public static const ERROR:LogLevel
FATAL | constant |
public static const FATAL:LogLevel
FINE | constant |
public static const FINE:LogLevel
INFO | constant |
public static const INFO:LogLevel
OFF | constant |
public static const OFF:LogLevel
WARN | constant |
public static const WARN:LogLevel