Packageorg.as3commons.logging.integration
Classpublic final class PushButtonIntegration
InheritancePushButtonIntegration Inheritance Object
Implements com.pblabs.engine.debug.ILogAppender

Since : 2.5

PushButtonIntegration can be used as ILogAppender for the Push Button Engine that sends all log requests to as3commons.
       import com.pblabs.engine.debug.Logger;
       
       com.pblabs.engine.PBE.IS_SHIPPING_BUILD = true;
       
       Logger.startup();
       Logger.registerListener( new PushButtonIntegration() );
     

Note: Unlike Mate, SpiceLib, Progression or Flex there is no way for us to implement a PushButtonTarget that would allow logging from as3commons to Push Button Engine.

See also

http://pushbuttonengine.com


Public Methods
 MethodDefined By
  
addLogMessage(level:String, loggerName:String, message:String):void
Sends the log statements to as3commons logging.
PushButtonIntegration
Method Detail
addLogMessage()method
public function addLogMessage(level:String, loggerName:String, message:String):void

Sends the log statements to as3commons logging. (implementation of ILogAppender hook)

Parameters

level:String — Level of the log entry
 
loggerName:String — Name of the logger
 
message:String — Message that was supposed to be logged