Packageorg.as3commons.logging.integration
Classpublic final class SLF4ASIntegration
InheritanceSLF4ASIntegration Inheritance Object
Implements com.furusystems.logging.slf4as.bindings.ILogBinding

Since : 2.5.1

SLF4ASIntegration redirects statements from the slf4as framework to the as3commons logging targets;

Example:

       import com.furusystems.logging.slf4as.Logging;
       import org.as3commons.logging.integration.SLF4ASIntegration;
       
       Logging.logBinding = new SLF4ASIntegration();
     

Note: This version is built for r25.

Note: There is no swc in the wild for SLF4AS, it does however get shipped with the DConsole

See also

http://code.google.com/p/slf4as/
org.as3commons.logging.setup.target.DConsoleTarget


Public Methods
 MethodDefined By
  
Constructs a new SLF4ASIntegration
SLF4ASIntegration
  
print(owner:Object, level:String, str:String):void
Prints a log statement
SLF4ASIntegration
Constructor Detail
SLF4ASIntegration()Constructor
public function SLF4ASIntegration()

Constructs a new SLF4ASIntegration

Method Detail
print()method
public function print(owner:Object, level:String, str:String):void

Prints a log statement

Parameters

owner:Object — Owner name to be displayed.
 
level:String — Level, stringified of the log statement
 
str:String — String to be rendered