Packagecom.luminicbox.log
Classpublic class DefaultConfig

Abstract class for creating Logger instances with default publishers ( TracePublisher and ConsolePublisher ).



Public Methods
 MethodDefined by
  
getLogger(id:String, maxDepth:Number):Logger
[static] Creates a Logger instance with the default publisher: TracePublisher and ConsolePublisher.
DefaultConfig
Method detail
getLogger()method
public static function getLogger(id:String, maxDepth:Number):Logger

Creates a Logger instance with the default publisher: TracePublisher and ConsolePublisher.

Parameters
id:String — String ( optional ) Used for the logger ID.
 
maxDepth:Number — Number ( optional ) The max depth for the publishers. The default value is 3.

Returns
Logger — A Logger instance.