Usage

The usage itself actually is pretty straight forward as you can see. Just instantiate a ILog instance via a static factory method provided by LogFactory. After that you are able to invoke the debug methods and pass it a message string and an optional error.

public class MyClass
{
  private static const LOG:ILog = LogFactory.getLog(MyClass);

  public function MyClass()
  {
    LOG.debug("created new MyClass instance");
  }
}

Log Levels

FxLogging supports the following levels:

Level Description
ALL Enable any logs (useful for future use, image an additional finer or finest level).
FINE Details providing uncommon information (for example within loops).
DEBUG
INFO
WARN
ERROR
FATAL
OFF Completely disable any logs.