| Package | org.spicefactory.lib.logging.impl |
| Class | public class SOSAppender |
| Inheritance | SOSAppender AbstractAppender |
host and port properties.
| 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:Logger):void
Registers the specified Logger with this Appender.
| AbstractAppender | |
|
sendCommand(command:String):void
Sends a custom command to Powerflasher SOS.
| SOSAppender | ||
| host | property |
host:String [read-write]The host to connect to. The default is localhost.
Implementation public function get host():String
public function set host(value:String):void
| port | property |
port:uint [read-write]The port to connect to. The default is 4444.
Implementation public function get port():uint
public function set port(value:uint):void
| useShortNames | property |
useShortNames:Boolean [read-write]
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.
Parameterscommand:String — the command to send to SOS
|