LuminicBoxHandler
| Kind of class: | class |
|---|---|
| Inherits from: | BasicClass |
| Implements: | |
| Author: | Simon Wacker, Christoph Atteneder |
| Classpath: | org.as2lib.env.log.handler.LuminicBoxHandler |
| File last modified: | Thursday, 23 June 2005, 12:20:22 |
LuminicBoxHandler is a wrapper of the ConsolePublisher classfrom the LuminicBox Logging API.
LuminicBox console.
See also:
Summary
Constructor
Class methods
Constructor
LuminicBoxHandler
function LuminicBoxHandler (
maximalInspectionDepth:Number)
Constructs a new
LuminicBoxHandler instance.You can use one and the same instance for multiple loggers. So think about
using the handler returned by the static getInstance method. Using
this instance prevents the instantiation of unnecessary luminic box handlers
and saves storage.
Parameters:
maximalInspectionDepth:
(optional) the maximal depth of object inspection
Class methods
getInstance
static function getInstance (
maximalInspectionDepth:Number) : LuminicBoxHandler
Returns an instance of this class.
This method always returns the same instance.
The maximalInspectionDepth is only recognized when this method is
invoked the first time.
Parameters:
maximalInspectionDepth:
(optional) the maximal depth of object inspection
Returns:
a luminic box handler
Instance methods
write
function write (
message:LogMessage) : Void
Writes directly to the LuminicBox console.
The ConsolePublisher determines how the string representation is
constructed.
Parameters:
message:
the log message to write out
Specified by: