Paket | mx.logging.targets |
Klass | public class TraceTarget |
Arv | TraceTarget LineFormattedTarget AbstractTarget Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
trace()
method to output log messages.
To view trace()
method output, you must be running the
debugger version of Flash Player or AIR Debug Launcher.
The debugger version of Flash Player and AIR Debug Launcher send output from the trace()
method
to the flashlog.txt file. The default location of this file is the same directory as
the mm.cfg file. You can customize the location of this file by using the TraceOutputFileName
property in the mm.cfg file. You must also set TraceOutputFileEnable
to 1 in your mm.cfg file.
Fler exempel
Publika egenskaper
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
Constructor. | TraceTarget | ||
Sets up this target with the specified logger. | AbstractTarget | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Called after the implementing object has been created
and all properties specified on the tag have been assigned. | AbstractTarget | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
[åsidosätt]
This method handles a LogEvent from an associated logger. | LineFormattedTarget | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Stops this target from receiving events from the specified logger. | AbstractTarget | ||
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 | ||
Returnerar det angivna objektets primitiva värde. | Object |
Konstruktordetaljer
TraceTarget | () | Konstruktor |
public function TraceTarget()
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Constructor.
Constructs an instance of a logger target that will send
the log data to the global trace()
method.
All output will be directed to flashlog.txt by default.
Tue Jun 12 2018, 01:40 PM Z