Package | artcustomer.framework.debug.tracer |
Class | public class DebugTracer |
Inheritance | DebugTracer Object |
Method | Defined By | ||
---|---|---|---|
addLog(target:Object, member:String):void [static]
Add Flash log. | DebugTracer | ||
addTrace(target:Object, id:String, ... rest):void [static]
Add Flash trace. | DebugTracer | ||
setMode(mode:String):void [static]
Set DebugTracer mode. | DebugTracer |
Constant | Defined By | ||
---|---|---|---|
DEBUG_MODE : String = debug [static] | DebugTracer | ||
DEV_MODE : String = dev [static] | DebugTracer | ||
PROD_MODE : String = prod [static] | DebugTracer | ||
TEST_MODE : String = test [static] | DebugTracer |
addLog | () | method |
public static function addLog(target:Object, member:String):void
Add Flash log.
Parameters
target:Object | |
member:String |
addTrace | () | method |
public static function addTrace(target:Object, id:String, ... rest):void
Add Flash trace.
Parameters
target:Object — : Object that contains the trace
| |
id:String — : Name
| |
... rest — : Properties to set in the trace
|
setMode | () | method |
public static function setMode(mode:String):void
Set DebugTracer mode.
Parameters
mode:String — : Specify mode to render trace (PROD_MODE / DEV_MODE / DEBUG_MODE)
|
DEBUG_MODE | Constant |
public static const DEBUG_MODE:String = debug
DEV_MODE | Constant |
public static const DEV_MODE:String = dev
PROD_MODE | Constant |
public static const PROD_MODE:String = prod
TEST_MODE | Constant |
public static const TEST_MODE:String = test