| Pacote | mx.logging |
| Classe | public class LogEvent |
| Herança | LogEvent Event Object |
| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Propriedades públicas
| Propriedade | Definido por | ||
|---|---|---|---|
![]() | bubbles : Boolean [somente leitura]
Indica se um evento é do tipo bubbling. | Event | |
![]() | cancelable : Boolean [somente leitura]
Indica se o comportamento associado ao evento pode ser impedido. | Event | |
![]() | constructor : Object
Uma referência ao objeto de classe ou à função de construtor de uma determinada ocorrência de objeto. | Object | |
![]() | currentTarget : Object [somente leitura]
O objeto que está processando ativamente o objeto Event com um ouvinte de evento. | Event | |
![]() | eventPhase : uint [somente leitura]
A fase atual no fluxo de eventos. | Event | |
| level : int
Provides access to the level for this log event. | LogEvent | ||
| message : String
Provides access to the message that was logged. | LogEvent | ||
![]() | target : Object [somente leitura]
O destino de evento. | Event | |
![]() | type : String [somente leitura]
O tipo de evento. | Event | |
Métodos públicos
| Método | Definido por | ||
|---|---|---|---|
Constructor. | LogEvent | ||
![]() |
Duplica uma ocorrência de uma subclasse Event. | Event | |
![]() |
Uma função de utilitário para implementar o método toString() em classes ActionScript 3.0 Event personalizadas. | Event | |
[estático]
Returns a string value representing the level specified. | LogEvent | ||
![]() |
Indica se um objeto tem uma propriedade especificada definida. | Object | |
![]() |
Verifica se o método preventDefault() foi chamado no evento. | Event | |
![]() |
Indica se uma ocorrência da classe Object está na cadeia de protótipos do objeto especificado como o parâmetro. | Object | |
![]() |
Cancela um comportamento padrão de evento se esse comportamento puder ser cancelado. | Event | |
![]() |
Indica se a propriedade especificada existe e é enumerável. | Object | |
![]() |
Define a disponibilidade de uma propriedade dinâmica para operações de repetição. | Object | |
![]() |
Impede o processamento de qualquer ouvinte de evento no nó atual e qualquer nó subsequente no fluxo de eventos. | Event | |
![]() |
Impede o processamento de algum ouvinte de evento em nós subsequentes ao nó atual no fluxo de eventos. | Event | |
![]() |
Retorna a representação da string deste objeto, formatado segundo as convenções específicas para a localidade. | Object | |
![]() |
Retorna uma string que contém todas as propriedades do objeto Event. | Event | |
![]() |
Retorna o valor primitivo do objeto especificado. | Object | |
Constantes públicas
| Constante | Definido por | ||
|---|---|---|---|
| LOG : String = "log" [estático]
Event type constant; identifies a logging event. | LogEvent | ||
Detalhes da propriedade
level | propriedade |
public var level:int| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Provides access to the level for this log event. Valid values are:
LogEventLogEventLevel.INFOdesignates informational messages that highlight the progress of the application at coarse-grained level.LogEventLevel.DEBUGdesignates informational level messages that are fine grained and most helpful when debugging an application.LogEventLevel.ERRORdesignates error events that might still allow the application to continue running.LogEventLevel.WARNdesignates events that could be harmful to the application operation.LogEventLevel.FATALdesignates events that are very harmful and will eventually lead to application failure.
message | propriedade |
public var message:String| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Provides access to the message that was logged.
Detalhes do construtor
LogEvent | () | Construtor |
public function LogEvent(message:String = "", level:int = 0)| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Constructor.
Parâmetrosmessage:String (default = "") — String containing the log data.
| |
level:int (default = 0) — The level for this log event.
Valid values are:
|
Detalhes do método
getLevelString | () | método |
public static function getLevelString(value:uint):String| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Returns a string value representing the level specified.
Parâmetros
value:uint — level a string is desired for.
|
String — The level specified in English.
|
Detalhes da constante
LOG | Constante |
public static const LOG:String = "log"| Versão da linguagem: | ActionScript 3.0 |
| Versão de produto: | Flex 3 |
| Versões de runtime: | Flash Player 9, AIR 1.1 |
Event type constant; identifies a logging event.
Wed Jun 13 2018, 11:10 AM Z
Ocultar propriedades públicas herdadas
Mostrar propriedades públicas herdadas