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"); } }