| Package | org.as3commons.logging.setup.target |
| Class | public final class ChainsawGateway |
| Inheritance | ChainsawGateway XMLSocketGateway Object |
| Since : | 2.7 |
ChainsawGateway sends events to Chainsaw, a tool from the log4j
platform.
To use this class in the setup process one has to refer to
ChainsawTarget.
See also
| Method | Defined By | ||
|---|---|---|---|
ChainsawGateway(applicationName:String = null, applicationThread:String = null, host:String = null, port:int = 4448, sendInterval:int = 800)
Creates a new ChainsawGateway for sending log events to Chainsaw
| ChainsawGateway | ||
log(name:String, time:Number, level:int, message:String):void | ChainsawGateway | ||
| Constant | Defined By | ||
|---|---|---|---|
| DEFAULT_HOST : String = localhost [static] Default host to be used if no host ist passed in | ChainsawGateway | ||
| ChainsawGateway | () | Constructor |
public function ChainsawGateway(applicationName:String = null, applicationThread:String = null, host:String = null, port:int = 4448, sendInterval:int = 800)
Creates a new ChainsawGateway for sending log events to Chainsaw
applicationName:String (default = null) — Name of the application to be provided to Chainsaw
| |
applicationThread:String (default = null) — Thread information to be provided to Chainsaw
| |
host:String (default = null) — Host name on which Chainsaw is running
| |
port:int (default = 4448) — Port on which Chainsaw is running
| |
sendInterval:int (default = 800) — Interval used to send to Chainsaw
|
| log | () | method |
public function log(name:String, time:Number, level:int, message:String):void
Parameters
name:String | |
time:Number | |
level:int | |
message:String |
| DEFAULT_HOST | Constant |
public static const DEFAULT_HOST:String = localhostDefault host to be used if no host ist passed in