Paket | mx.olap |
Klass | public class OLAPTrace |
Arv | OLAPTrace Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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.
Relaterade API-element
Egenskap | Definieras med | ||
---|---|---|---|
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
traceLevel : int = 1 [statisk]
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 [statisk]
Set to true to enable trace output. | OLAPTrace |
Metod | Definieras med | ||
---|---|---|---|
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
[statisk]
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 | ||
Returnerar det angivna objektets primitiva värde. | Object |
Konstant | Definieras med | ||
---|---|---|---|
TRACE_LEVEL_1 : int = 1 [statisk]
Specifies to write minimal trace information to the log file. | OLAPTrace | ||
TRACE_LEVEL_2 : int = 2 [statisk]
Specifies to write more trace information to the log file than TRACE_LEVEL_1. | OLAPTrace | ||
TRACE_LEVEL_3 : int = 3 [statisk]
Specifies to write the most trace information to the log file. | OLAPTrace |
traceLevel | egenskap |
public static var traceLevel:int = 1
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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.
Standardvärdet är TRACE_LEVEL_1.
traceOn | egenskap |
public static var traceOn:Boolean = true
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Set to true
to enable trace output.
Standardvärdet är true.
traceMsg | () | metod |
public static function traceMsg(msg:String, level:int = 1):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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.
Parametrar
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 | Konstant |
public static const TRACE_LEVEL_1:int = 1
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Specifies to write minimal trace information to the log file.
TRACE_LEVEL_2 | Konstant |
public static const TRACE_LEVEL_2:int = 2
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Specifies to write more trace information to the log file than TRACE_LEVEL_1
.
TRACE_LEVEL_3 | Konstant |
public static const TRACE_LEVEL_3:int = 3
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Specifies to write the most trace information to the log file.
Tue Jun 12 2018, 01:40 PM Z