Packagenet.sourceforge.fxpotpourri.logging.api
Classpublic class LogLevel



Public Properties
 PropertyDefined by
  label : String
[read-only]
LogLevel
  priority : int
[read-only]
LogLevel
Public Methods
 MethodDefined 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
Public Constants
 ConstantDefined 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
Property detail
labelproperty
label:String  [read-only]Implementation
    public function get label():String
priorityproperty 
priority:int  [read-only]Implementation
    public function get priority():int
Constructor detail
LogLevel()constructor
public function LogLevel(priority:int, label:String)Parameters
priority:int
 
label:String
Method detail
doesInclude()method
public function doesInclude(that:LogLevel):Boolean

Checks if this level also includes ("is higher than") than the given level.

Parameters
that:LogLevel — which should be checked against

Returns
Boolean — true for example if this=FATAL && that=ERROR; false if this=WARN && that=DEBUG
toLevelByLabel()method 
public static function toLevelByLabel(passedLabel:String):LogLevelParameters
passedLabel:String

Returns
LogLevel
toLevelByPriorty()method 
public static function toLevelByPriorty(priority:int):LogLevelParameters
priority:int

Returns
LogLevel
toString()method 
public function toString():String

Standard toString() method.

Returns
String — the class name and some properties.
Constant detail
ALLconstant
public static const ALL:LogLevel
DEBUGconstant 
public static const DEBUG:LogLevel
ERRORconstant 
public static const ERROR:LogLevel
FATALconstant 
public static const FATAL:LogLevel
FINEconstant 
public static const FINE:LogLevel
INFOconstant 
public static const INFO:LogLevel
OFFconstant 
public static const OFF:LogLevel
WARNconstant 
public static const WARN:LogLevel