Packagecom.theriabook.util.logging
Classpublic class ServerOutput
InheritanceServerOutput Inheritance mx.logging.AbstractTarget
Implementscom.theriabook.util.logging.ILogOutput

Outputs logs to the web server. Note: log messages issued within log method of ServerLogOutput class are redirected to TraceTarget



Public Properties
 PropertyDefined by
  destination : String
Defines destination for RemoteObject
ServerOutput
Public Methods
 MethodDefined by
  
ServerOutput(destination:String)
ServerOutput
  
log(message:String, category:String, level:int = 0, time:Date = null):void
Sends message to the log target
ServerOutput
  
ServerOutput
Protected Methods
 MethodDefined by
  
ro_onFault(evt:FaultEvent):void
ServerOutput
Property detail
destinationproperty
destination:String  [read-write]

Defines destination for RemoteObject

The default value is "ServerFlexLogger".

Implementation
    public function get destination():String
    public function set destination(value:String):void
Constructor detail
ServerOutput()constructor
public function ServerOutput(destination:String)Parameters
destination:String
Method detail
log()method
public function log(message:String, category:String, level:int = 0, time:Date = null):void

Sends message to the log target

Parameters
message:String — Message text
 
category:String — Logger category
 
level:int (default = 0) — Message level
 
time:Date (default = null) — Message timestamp
releaseOutput()method 
public function releaseOutput():void
ro_onFault()method 
protected function ro_onFault(evt:FaultEvent):voidParameters
evt:FaultEvent