套件 | mx.olap |
類別 | public class OLAPTrace |
繼承 | OLAPTrace Object |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
trace()
method internally to write out the log information.
You must set TraceOutputFileEnable=1
in mm.cfg, and use the
Debug Flash Player or AIR Debug Launcher to generate trace output.
相關 API 元素
屬性 | 定義自 | ||
---|---|---|---|
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
traceLevel : int = 1 [靜態]
The current trace level, which determines the amount of trace information
written to the log file, TRACE_LEVEL_1 writes the least amount of
information to the log file, and TRACE_LEVEL_3 writes the most. | OLAPTrace | ||
traceOn : Boolean = true [靜態]
Set to true to enable trace output. | OLAPTrace |
方法 | 定義自 | ||
---|---|---|---|
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
[靜態]
Writes trace information to the log file
You must set TraceOutputFileEnable=1 in mm.cfg, and use the
Debug Flash Player or AIR Debug Launcher to generate
trace output by calling this method.
| OLAPTrace | ||
會傳回指定之物件的基本值。 | Object |
常數 | 定義自 | ||
---|---|---|---|
TRACE_LEVEL_1 : int = 1 [靜態]
Specifies to write minimal trace information to the log file. | OLAPTrace | ||
TRACE_LEVEL_2 : int = 2 [靜態]
Specifies to write more trace information to the log file than TRACE_LEVEL_1. | OLAPTrace | ||
TRACE_LEVEL_3 : int = 3 [靜態]
Specifies to write the most trace information to the log file. | OLAPTrace |
traceLevel | 屬性 |
public static var traceLevel:int = 1
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
The current trace level, which determines the amount of trace information
written to the log file, TRACE_LEVEL_1
writes the least amount of
information to the log file, and TRACE_LEVEL_3
writes the most.
All trace information output by a call to the traceMsg()
method
with a level
argument less than traceLevel
is sent to the log file.
預設值為 TRACE_LEVEL_1。
traceOn | 屬性 |
public static var traceOn:Boolean = true
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Set to true
to enable trace output.
預設值為 true。
traceMsg | () | 方法 |
public static function traceMsg(msg:String, level:int = 1):void
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Writes trace information to the log file
You must set TraceOutputFileEnable=1
in mm.cfg, and use the
Debug Flash Player or AIR Debug Launcher to generate
trace output by calling this method.
參數
msg:String — The trace message.
| |
level:int (default = 1 ) — The trace level of the message.
Only trace messages with a level argument less than traceLevel
are sent to the log file.
|
TRACE_LEVEL_1 | 常數 |
public static const TRACE_LEVEL_1:int = 1
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Specifies to write minimal trace information to the log file.
TRACE_LEVEL_2 | 常數 |
public static const TRACE_LEVEL_2:int = 2
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Specifies to write more trace information to the log file than TRACE_LEVEL_1
.
TRACE_LEVEL_3 | 常數 |
public static const TRACE_LEVEL_3:int = 3
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Specifies to write the most trace information to the log file.
Tue Jun 12 2018, 03:47 PM Z