| Package | org.as3commons.logging.integration |
| Class | public final class PushButtonIntegration |
| Inheritance | PushButtonIntegration 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
| Method | Defined By | ||
|---|---|---|---|
addLogMessage(level:String, loggerName:String, message:String):void
Sends the log statements to as3commons logging. | PushButtonIntegration | ||
| addLogMessage | () | method |
public function addLogMessage(level:String, loggerName:String, message:String):voidSends 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
|