com.kelvinluck.util LogWrapper |
com. kelvinluck. util. LogWrapperClass to wrap the LuminicBox.Log logging system from http://www.luminicbox.com/blog/?page=post&id=2 I started out developing using Colin Moock’s org.moock.logger.Logger logging class then discovered this cooler one. I thought that rather than changing all my calls to the logger class I could just wrap the LumicBox class in this class of my own. The class implements the Singleton pattern and provides access to the methods of LuminicBox.Log that I have needed... Version0.1.0 AuthorKelvin Luck kelvin@kelvinluck.com (but it just wraps the LuminicBox code which I didn’t write) Summary
|
Call this function if you want logged output to be displayed in the seperate “console” swf.
public function addConsolePublisher()
Call this function if you want logged output to be displayed in the trace window of the Flash IDE.
public function addTracePublisher()
Returns a reference to the Single LogWrapper instance.
public static function getInstance():LogWrapper
Returns a reference to the LuminicBox.Log.Logger instance that is being wrapped.
public static function getLog():Logger