Package | sekati.log |
Class | public class LogTarget |
Logger
Method | Defined 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 |
Constant | Defined 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 |
LogTarget | () | constructor |
public function LogTarget()
LogTarget Static Constructor
resolveTarget | () | method |
public static function resolveTarget(logTarget:String, verboseWarn:Boolean = false):uint
Resolve the Logger
target string.
logTarget:String |
|
verboseWarn:Boolean (default = false )
|
uint |
updateFirebug | () | method |
public static function updateFirebug(level:String, msg:String):void
A wrapper to facilitate output to Firebug if it is available.
Parameterslevel: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
.
msg:String |
ALL | constant |
public static const ALL:uint = 3
Logger
output is sent to both Console & Firebug and dispatches an addition LogEvent
for plugin targets.
See also
FIREBUG | constant |
public static const FIREBUG:uint = 2
Logger
output is sent to the browser javascript console via ExternalInterface
.
See also
IDE | constant |
public static const IDE:uint = 1
Logger
output is sent to the developers IDE output console (Flash/FDT/FlexBuilder console).
NONE | constant |
public static const NONE:uint = 0
No Logger
output is sent; effectively the same as Logger.$.enabled = false;