Packageorg.as3commons.logging.integration
Classpublic final class LogMeisterIntegration
InheritanceLogMeisterIntegration Inheritance Object
Implements logmeister.connectors.ILogMeisterConnector

Since : 2.5.2

This integration passes messages to the LogMeister framework on to the as3commons framework.
       import org.as3commons.logging.integration.LogMeisterIntegration;
       import logmeister.LogMeister;
       
       LogMeister.addLogger( new LogMeisterIntegration() );
     

Since LogMeister uses a different approach to evaluate which method the log statements are coming from, the path has to be evaluated. This costs time so we added a switch to use it optionally

See also

http://github.com/base42/LogMeister
org.as3commons.logging.setup.target.LogMeisterTarget


Public Properties
 PropertyDefined By
  evaluateClass : Boolean
true to evaluate the location via a exception in a debug player.
LogMeisterIntegration
Public Methods
 MethodDefined By
  
LogMeisterIntegration(evaluate:Boolean = true)
Constructs a new LogMeisterIntegration.
LogMeisterIntegration
  
init():void
Satisfies the interface
LogMeisterIntegration
  
sendCritical(... args):void
Sends a critical message as "fatal" message to the as3commons framework
LogMeisterIntegration
  
sendDebug(... args):void
Sends a debug message as "debug" message to the as3commons framework
LogMeisterIntegration
  
sendError(... args):void
Sends a error message as "error" message to the as3commons framework
LogMeisterIntegration
  
sendFatal(... args):void
Sends a fatal message as "fatal" message to the as3commons framework
LogMeisterIntegration
  
sendInfo(... args):void
Sends a info message as "info" message to the as3commons framework
LogMeisterIntegration
  
sendNotice(... args):void
Sends a notice message as "info" message to the as3commons framework
LogMeisterIntegration
  
sendStatus(... args):void
Sends a status message as "info" message to the as3commons framework
LogMeisterIntegration
  
sendWarn(... args):void
Sends a warn message as "warn" message to the as3commons framework
LogMeisterIntegration
Property Detail
evaluateClassproperty
evaluateClass:Boolean

true to evaluate the location via a exception in a debug player.


Implementation
    public function get evaluateClass():Boolean
    public function set evaluateClass(value:Boolean):void
Constructor Detail
LogMeisterIntegration()Constructor
public function LogMeisterIntegration(evaluate:Boolean = true)

Constructs a new LogMeisterIntegration.

Parameters
evaluate:Boolean (default = true) — If true it tries to evaluate from which class it was sent
Method Detail
init()method
public function init():void

Satisfies the interface

sendCritical()method 
public function sendCritical(... args):void

Sends a critical message as "fatal" message to the as3commons framework

Parameters

... args — Message and parameters, sent to the logger

sendDebug()method 
public function sendDebug(... args):void

Sends a debug message as "debug" message to the as3commons framework

Parameters

... args — Message and parameters, sent to the logger

sendError()method 
public function sendError(... args):void

Sends a error message as "error" message to the as3commons framework

Parameters

... args — Message and parameters, sent to the logger

sendFatal()method 
public function sendFatal(... args):void

Sends a fatal message as "fatal" message to the as3commons framework

Parameters

... args — Message and parameters, sent to the logger

sendInfo()method 
public function sendInfo(... args):void

Sends a info message as "info" message to the as3commons framework

Parameters

... args — Message and parameters, sent to the logger

sendNotice()method 
public function sendNotice(... args):void

Sends a notice message as "info" message to the as3commons framework

Parameters

... args — Message and parameters, sent to the logger

sendStatus()method 
public function sendStatus(... args):void

Sends a status message as "info" message to the as3commons framework

Parameters

... args — Message and parameters, sent to the logger

sendWarn()method 
public function sendWarn(... args):void

Sends a warn message as "warn" message to the as3commons framework

Parameters

... args — Message and parameters, sent to the logger