Packageorg.as3commons.logging.integration
Classpublic final class Log5FIntegration
InheritanceLog5FIntegration Inheritance org.log5f.core.Appender
Implements org.log5f.core.IAppender

Since : 2.6

Appender to the Log5F framework that redirects statements to the Log5F framework to the as3commons logging setup.
       import org.as3commons.logging.integration.Log5FIntegration;
       import org.log5f.LoggerManager;
       import org.log5f.core.config.tags.LoggerTag;
       import org.log5f.core.config.tags.ConfigurationTag;
       
       var tag: LoggerTag = new LoggerTag();
       tag.appenders = [new Log5FIntegration()];
       tag.level = "ALL";
       
       var setup: ConfigurationTag = new ConfigurationTag();
       setup.objects = [tag];
       
       LoggerManager.configure(setup);
     

See also

http://log5f.org
org.as3commons.logging.setup.target.Log5FTarget


Public Methods
 MethodDefined By
  
Creates a new Log5FIntegration.
Log5FIntegration
Protected Methods
 MethodDefined By
  
append(event:LogEvent):void
[override] Sends the events to the as3commons logging framework.
Log5FIntegration
Constructor Detail
Log5FIntegration()Constructor
public function Log5FIntegration()

Creates a new Log5FIntegration. Automatically defines the layout as "SimpleLayout".

Method Detail
append()method
override protected function append(event:LogEvent):void

Sends the events to the as3commons logging framework.

Parameters

event:LogEvent — Event used by Log5F