Guida di riferimento di ActionScript® 3.0 per la piattaforma Adobe® Flash®
Home  |  Nascondi elenco pacchetti e classi |  Pacchetti  |  Classi  |  Novità  |  Indice  |  Appendici  |  Perché in inglese?
Filtri: Recupero dati dal server...
Recupero dati dal server...
mx.logging.targets 

TraceTarget  - AS3 Flex

Pacchettomx.logging.targets
Classepublic class TraceTarget
EreditarietàTraceTarget Inheritance LineFormattedTarget Inheritance AbstractTarget Inheritance Object

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: Flash Player 9, AIR 1.1

Provides a logger target that uses the global 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.

Altri esempi



Proprietà pubbliche
 ProprietàDefinito da
 Inheritedconstructor : Object
Un riferimento all'oggetto classe o alla funzione di costruzione per una determinata istanza di oggetto.
Object
 InheritedfieldSeparator : String = " "
The separator string to use between fields (the default is " ")
LineFormattedTarget
 Inheritedfilters : Array
In addition to the level setting, filters are used to provide a psuedo-hierarchical mapping for processing only those events for a given category.
AbstractTarget
 Inheritedid : String
[sola lettura] Provides access to the id of this target.
AbstractTarget
 InheritedincludeCategory : Boolean
Indicates if the category for this target should added to the trace.
LineFormattedTarget
 InheritedincludeDate : Boolean
Indicates if the date should be added to the trace.
LineFormattedTarget
 InheritedincludeLevel : Boolean
Indicates if the level for the event should added to the trace.
LineFormattedTarget
 InheritedincludeTime : Boolean
Indicates if the time should be added to the trace.
LineFormattedTarget
 Inheritedlevel : int
Provides access to the level this target is currently set at.
AbstractTarget
Metodi pubblici
 MetodoDefinito da
  
Constructor.
TraceTarget
 Inherited
Sets up this target with the specified logger.
AbstractTarget
 Inherited
Indica se per un oggetto è definita una proprietà specifica.
Object
 Inherited
Called after the implementing object has been created and all properties specified on the tag have been assigned.
AbstractTarget
 Inherited
Indica se un'istanza della classe Object si trova nella catena di prototipi dell'oggetto specificato come parametro.
Object
 Inherited
[override] This method handles a LogEvent from an associated logger.
LineFormattedTarget
 Inherited
Indica se la proprietà specificata esiste ed è enumerabile.
Object
 Inherited
Stops this target from receiving events from the specified logger.
AbstractTarget
 Inherited
Imposta la disponibilità di una proprietà dinamica per le operazioni cicliche.
Object
 Inherited
Restituisce la rappresentazione in formato stringa di questo oggetto, formattato in base alle convenzioni specifiche per le versioni localizzate.
Object
 Inherited
Restituisce la rappresentazione in formato stringa dell'oggetto specificato.
Object
 Inherited
Restituisce il valore di base dell'oggetto specificato.
Object
Descrizione della funzione di costruzione

TraceTarget

()Funzione di costruzione
public function TraceTarget()

Versione linguaggio: ActionScript 3.0
Versione prodotto: Flex 3
Versioni runtime: 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.





[ X ]Perché in inglese?
Il contenuto della Guida di riferimento di ActionScript 3.0 appare in inglese

Non tutte le parti della Guida di riferimento di ActionScript 3.0 sono tradotte in tutte le lingue. Quando un elemento del linguaggio non è tradotto, viene riportato in inglese. Ad esempio, la classe ga.controls.HelpBox non è tradotta in nessuna lingua. Pertanto, nella versione italiana della guida di riferimento, la descrizione della classe ga.controls.HelpBox è riportata in inglese.