Factory class for generating concrete writer instances.
Every writer available for logging must be adde to the getWriter method.
Static class.
public function LogFactory()
Empty constructor
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
public static const AIRFILE:String = "airfile"
public static const AIRSQLITE:String = "airsqlite"
public static const FIREBUG:String = "firebog"
Writer identificators
copyright 2009 by flamelab.de