LogLevel
AbstractLogLevel acts as a basic access point for the pre-defined levels
ALL, DEBUG, INFO, WARNING, ERROR,
FATAL and NONE.
static public ALL:LogLevelstatic public DEBUG:LogLevelstatic public INFO:LogLevelstatic public WARNING:LogLevelstatic public ERROR:LogLevelstatic public FATAL:LogLevelstatic public NONE:LogLevelstatic public function forName(name:String):LogLevel
Returns the log level for the given name.
If the given name is not registered to any logger, INFO is
returned.
name | the name of the log level to return |
the log level for the given name
public function isGreaterOrEqual(level:LogLevel):Boolean
Compares the number representation of this level with the one of the passed-in
level using the is greater or equal operator.
true will be returned if:
level. level is null or undefined.level | the level to compare this level with |
true if this level is greater or equal than the passed-in
level else false
public function toNumber(Void):NumberReturns the number representation of this level.
The return value is never null or undefined.
the number representation of this level
public function toString():StringReturns the string representation of this level.
the string representation of this level
toString() in org.as2lib.core.BasicInterface