Abstract base implementation of the
Appender interface.
threshold:LogLevel [read-write]
The threshold level for this Appender. The Appender threshold is an additional
filtering mechanism to the log level of Logger instances. Any log messages with
a log level below the threshold will be ignored by this Appender.
Implementation
public function get threshold():LogLevel
public function set threshold(value:LogLevel):void
protected function handleLogEvent(event:LogEvent):void
Invoked whenever a Logger instance registered with this
Appender fires a LogEvent.
Parameters
protected function isBelowThreshold(level:LogLevel):Boolean
Checks whether the specified LogLevel is below
the threshold of this Appender.
Parameters
| level:LogLevel — the LogLevel to compare to the threshold of this Appender
|
Returns
| Boolean — true if the specified LogLevel is below
the threshold of this Appender
|
public function registerLogger(logger:Logger):void
Registers the specified Logger with this Appender.
Implementations usually register listeners for LogEvents of the specified Logger.
Parameters
| logger:Logger — the logger to register with this Appender
|