Packagesekati.log
Classpublic class LogTarget

LogTarget provides the different log targets (or "output modes") available to Logger



Public Methods
 MethodDefined by
  
LogTarget Static Constructor
LogTarget
  
resolveTarget(logTarget:String, verboseWarn:Boolean = false):uint
[static] Resolve the Logger target string.
LogTarget
  
updateFirebug(level:String, msg:String):void
[static] A wrapper to facilitate output to Firebug if it is available.
LogTarget
  
updateIDE(msg:String):void
[static] A simple trace wrapper to facilitate Logger output to IDE since the trace method is occupied as a LogLevel.
LogTarget
Public Constants
 ConstantDefined by
  ALL : uint = 3
[static] Logger output is sent to both Console & Firebug and dispatches an addition LogEvent for plugin targets.
LogTarget
  FIREBUG : uint = 2
[static] Logger output is sent to the browser javascript console via ExternalInterface.
LogTarget
  IDE : uint = 1
[static] Logger output is sent to the developers IDE output console (Flash/FDT/FlexBuilder console).
LogTarget
  NONE : uint = 0
[static] No Logger output is sent; effectively the same as Logger.$.enabled = false;
LogTarget
Constructor detail
LogTarget()constructor
public function LogTarget()

LogTarget Static Constructor

Method detail
resolveTarget()method
public static function resolveTarget(logTarget:String, verboseWarn:Boolean = false):uint

Resolve the Logger target string.

Parameters
logTarget:String
 
verboseWarn:Boolean (default = false)

Returns
uint
updateFirebug()method 
public static function updateFirebug(level:String, msg:String):void

A wrapper to facilitate output to Firebug if it is available.

Parameters
level:String
 
msg:String
updateIDE()method 
public static function updateIDE(msg:String):void

A simple trace wrapper to facilitate Logger output to IDE since the trace method is occupied as a LogLevel.

Parameters
msg:String
Constant detail
ALLconstant
public static const ALL:uint = 3

Logger output is sent to both Console & Firebug and dispatches an addition LogEvent for plugin targets.

See also

FIREBUGconstant 
public static const FIREBUG:uint = 2

Logger output is sent to the browser javascript console via ExternalInterface.

See also

IDEconstant 
public static const IDE:uint = 1

Logger output is sent to the developers IDE output console (Flash/FDT/FlexBuilder console).

NONEconstant 
public static const NONE:uint = 0

No Logger output is sent; effectively the same as Logger.$.enabled = false;