Packagede.flamelab.log
Classpublic class LogFactory

Factory class for generating concrete writer instances. Every writer available for logging must be adde to the getWriter method. Static class.



Public Methods
 MethodDefined by
  
Empty constructor
LogFactory
  
getWriter(type:String, conf:Object = null):AbstractLogWriter
[static] Static writer method.
LogFactory
Public Constants
 ConstantDefined by
  AIRFILE : String = "airfile"
[static]
LogFactory
  AIRSQLITE : String = "airsqlite"
[static]
LogFactory
  FIREBUG : String = "firebog"
[static] Writer identificators
LogFactory
Constructor detail
LogFactory()constructor
public function LogFactory()

Empty constructor

Method detail
getWriter()method
public static function getWriter(type:String, conf:Object = null):AbstractLogWriter

Static writer method. Pass in an writer identificator and an oprional configuration object. Latter is passed to newly created writer object.

Parameters
type:String — Identifier of writer type
 
conf:Object (default = null) — Object containig configuration data for new writer

Returns
AbstractLogWriter
Constant detail
AIRFILEconstant
public static const AIRFILE:String = "airfile"
AIRSQLITEconstant 
public static const AIRSQLITE:String = "airsqlite"
FIREBUGconstant 
public static const FIREBUG:String = "firebog"

Writer identificators