Referencia de ActionScript® 3.0 para la plataforma de Adobe® Flash®
Inicio  |  Ocultar lista de paquetes y clases |  Paquetes  |  Clases  |  Novedades  |  Índice  |  Apéndices  |  ¿Por qué hay texto en inglés?
Filtros: Recuperando datos del servidor...
Recuperando datos del servidor...
mx.olap 

OLAPTrace  - AS3 Flex

Paquetemx.olap
Clasepublic class OLAPTrace
HerenciaOLAPTrace Inheritance Object

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

The OLAPTrace class controls the generation of trace information generated by the OLAP classes and written to the log file. This class uses the 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.

Elementos de API relacionados

trace()


Propiedades públicas
 PropiedadDefinido por
 Inheritedconstructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada.
Object
  traceLevel : int = 1
[estática] 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
[estática] Set to true to enable trace output.
OLAPTrace
Métodos públicos
 MétodoDefinido por
 Inherited
Indica si un objeto tiene definida una propiedad especificada.
Object
 Inherited
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro.
Object
 Inherited
Indica si existe la propiedad especificada y si es enumerable.
Object
 Inherited
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle.
Object
 Inherited
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional.
Object
 Inherited
Devuelve la representación de cadena del objeto especificado.
Object
  
traceMsg(msg:String, level:int = 1):void
[estática] 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
 Inherited
Devuelve el valor simple del objeto especificado.
Object
Constantes públicas
 ConstanteDefinido por
  TRACE_LEVEL_1 : int = 1
[estática] Specifies to write minimal trace information to the log file.
OLAPTrace
  TRACE_LEVEL_2 : int = 2
[estática] Specifies to write more trace information to the log file than TRACE_LEVEL_1.
OLAPTrace
  TRACE_LEVEL_3 : int = 3
[estática] Specifies to write the most trace information to the log file.
OLAPTrace
Información sobre propiedades

traceLevel

propiedad
public static var traceLevel:int = 1

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: 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.

El valor predeterminado es TRACE_LEVEL_1.

traceOn

propiedad 
public static var traceOn:Boolean = true

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Set to true to enable trace output.

El valor predeterminado es true.

Información sobre métodos

traceMsg

()método
public static function traceMsg(msg:String, level:int = 1):void

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: 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.

Parámetros

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.

Información sobre constantes

TRACE_LEVEL_1

Constante
public static const TRACE_LEVEL_1:int = 1

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Specifies to write minimal trace information to the log file.

TRACE_LEVEL_2

Constante 
public static const TRACE_LEVEL_2:int = 2

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Specifies to write more trace information to the log file than TRACE_LEVEL_1.

TRACE_LEVEL_3

Constante 
public static const TRACE_LEVEL_3:int = 3

Versión del lenguaje: ActionScript 3.0
Versión de producto: Flex 3
Versiones de motor de ejecución: Flash Player 9, AIR 1.1

Specifies to write the most trace information to the log file.





[ X ]¿Por qué hay texto en inglés?
Cierto contenido de la Referencia de ActionScript 3.0 se muestra en inglés

No todo el contenido de la Referencia de ActionScript 3.0 se traduce a todos los idiomas. Si un elemento del lenguaje no se traduce, aparecerá en inglés. Por ejemplo, la clase ga.controls.HelpBox no está traducida en ningún idioma. Por lo tanto, en la versión en español de la referencia, la clase ga.controls.HelpBox aparecerá en inglés.