Class com.innocuo.log.LaoLoggerController

Description

By using this class, you can get a single instance of a LaoLogger for each logger name you provide. It'll also create a default TraceBuffer for each LaoLogger you get from this class this class shouldn't be instantiated

Example

var myLogger:LaoLogger=LaoLoggerController.getLogger("mylog1");

See Also

Method Index

getLogger(), gL()

Method Detail

getLogger

static public function getLogger(quid:String):LaoLogger

Returns a reference of a LaoLogger This class check if the name specified in the quid parameter already exists. If it does, a reference to is is returned. If not, the LaoLogger is created and the reference is created.

Parameters

quidthe name of the logger. If you don't specify a quid, the default is used (the default name is the name of the .swf file.

gL

static public function gL(quid:String):LaoLogger

This is a shortcut for the getLogger function

See Also