Packageorg.spicefactory.lib.logging
Interfacepublic interface SpiceLogger extends Logger, flash.events.IEventDispatcher
Implementors DefaultLogger

All logging operations are done through this interface. It contains log methods for all existing log levels, methods to check if a particular log level is active for a Logger instance and the level property for filtering log output.

It extends the basic Logger interface from the core log wrapper.



Public Properties
 PropertyDefined By
  level : LogLevel
The active level of the logger.
SpiceLogger
 Inheritedname : String
[read-only] The name of the logger.
Logger
Public Methods
 MethodDefined By
 Inherited
debug(message:String, ... rest):void
Logs a message with the DEBUG log level.
Logger
 Inherited
error(message:String, ... rest):void
Logs a message with the ERROR log level.
Logger
 Inherited
fatal(message:String, ... rest):void
Logs a message with the FATAL log level.
Logger
 Inherited
info(message:String, ... rest):void
Logs a message with the INFO log level.
Logger
 Inherited
isDebugEnabled():Boolean
Checks whether the log level DEBUG is active for this Logger.
Logger
 Inherited
isErrorEnabled():Boolean
Checks whether the log level ERROR is active for this Logger.
Logger
 Inherited
isFatalEnabled():Boolean
Checks whether the log level FATAL is active for this Logger.
Logger
 Inherited
isInfoEnabled():Boolean
Checks whether the log level INFO is active for this Logger.
Logger
 Inherited
isTraceEnabled():Boolean
Checks whether the log level TRACE is active for this Logger.
Logger
 Inherited
isWarnEnabled():Boolean
Checks whether the log level WARN is active for this Logger.
Logger
 Inherited
trace(message:String, ... rest):void
Logs a message with the TRACE log level.
Logger
 Inherited
warn(message:String, ... rest):void
Logs a message with the WARN log level.
Logger
Property Detail
levelproperty
level:LogLevel

The active level of the logger. Any log operations with a level lower than the value of this property will be filtered.


Implementation
    public function get level():LogLevel
    public function set level(value:LogLevel):void