| Package | org.spicefactory.lib.logging.impl |
| Class | public class SOSAppender |
| Inheritance | SOSAppender AbstractAppender Object |
host and port properties.
For more information
see http://sos.powerflasher.com.
| Property | Defined By | ||
|---|---|---|---|
| host : String
The host to connect to. | SOSAppender | ||
| port : uint
The port to connect to. | SOSAppender | ||
![]() | threshold : LogLevel
The threshold level for this Appender. | AbstractAppender | |
| useShortNames : Boolean
Indicates whether to use short names or fully qualified class names / logger names. | SOSAppender | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new instance. | SOSAppender | ||
init():void
Initializes the XMLSocket and connects to Powerflasher SOS. | SOSAppender | ||
![]() | registerLogger(logger:SpiceLogger):void
Registers the specified Logger with this Appender. | AbstractAppender | |
sendCommand(command:String):void
Sends a custom command to Powerflasher SOS. | SOSAppender | ||
| host | property |
host:StringThe host to connect to. The default is localhost.
public function get host():String public function set host(value:String):void| port | property |
port:uintThe port to connect to. The default is 4444.
public function get port():uint public function set port(value:uint):void| useShortNames | property |
useShortNames:Boolean
Indicates whether to use short names or fully qualified class names / logger names.
If this property is set to true it will only use the part of the logger name after
the last occurence of '.'.
public function get useShortNames():Boolean public function set useShortNames(value:Boolean):void| SOSAppender | () | Constructor |
public function SOSAppender()
Creates a new instance. The new instance does not automatically connect
to Powerflasher SOS. Use the init method to initiate the connection.
| init | () | method |
public function init():void
Initializes the XMLSocket and connects to Powerflasher SOS.
| sendCommand | () | method |
public function sendCommand(command:String):voidSends a custom command to Powerflasher SOS. For documentation on available commands see http://sos.powerflasher.com.
Parameters
command:String — the command to send to SOS
|