Paquete | com.adobe.gravity.utility.logging |
Clase | public class Logger |
Herencia | Logger Object |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versiones de motor de ejecución: | AIR 1.1, Flash Player 9 |
public class MyClass { static private const _logger:Logger = Logger.getLoggerByClass(MyClass); public function MyClass(myNumber:int) { _logger.finest("Constructor called with {myNumber}.", {myNumber: myNumber}, this); } }
Propiedades públicas
Propiedad | Definido por | ||
---|---|---|---|
constructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | Object | ||
name : String [solo lectura]
The name of the Logger instance. | Logger |
Métodos públicos
Método | Definido por | ||
---|---|---|---|
Log a CONFIG message. | Logger | ||
Log a FINE message. | Logger | ||
Log a FINER message. | Logger | ||
Log a FINEST message. | Logger | ||
[estática]
Get a Logger. | Logger | ||
Indica si un objeto tiene definida una propiedad especificada. | Object | ||
Log an INFO message. | Logger | ||
Determine whether a message will be logged. | Logger | ||
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | ||
Log a message at the specified level. | Logger | ||
Indica si existe la propiedad especificada y si es enumerable. | Object | ||
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | ||
Log a SEVERE message. | Logger | ||
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | ||
Devuelve la representación de cadena del objeto especificado. | Object | ||
Devuelve el valor simple del objeto especificado. | Object | ||
Log a WARNING message. | Logger |
Información sobre propiedades
name | propiedad |
name:String
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versiones de motor de ejecución: | AIR 1.1, Flash Player 9 |
The name of the Logger instance.
Implementación
public function get name():String
Información sobre métodos
config | () | método |
public function config(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versiones de motor de ejecución: | AIR 1.1, Flash Player 9 |
Log a CONFIG message.
Parámetros
message:String — The message to be logged.
| |
params:Object (default = null ) — Any parameters for the message.
| |
actor:Object (default = null ) — The object instance relating to the message (typically specified as this ).
| |
error:Error (default = null ) — An error associated with the message.
|
fine | () | método |
public function fine(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versiones de motor de ejecución: | AIR 1.1, Flash Player 9 |
Log a FINE message.
Parámetros
message:String — The message to be logged.
| |
params:Object (default = null ) — Any parameters for the message.
| |
actor:Object (default = null ) — The object instance relating to the message (typically specified as this ).
| |
error:Error (default = null ) — An error associated with the message.
|
finer | () | método |
public function finer(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versiones de motor de ejecución: | AIR 1.1, Flash Player 9 |
Log a FINER message.
Parámetros
message:String — The message to be logged.
| |
params:Object (default = null ) — Any parameters for the message.
| |
actor:Object (default = null ) — The object instance relating to the message (typically specified as this ).
| |
error:Error (default = null ) — An error associated with the message.
|
finest | () | método |
public function finest(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versiones de motor de ejecución: | AIR 1.1, Flash Player 9 |
Log a FINEST message.
Parámetros
message:String — The message to be logged.
| |
params:Object (default = null ) — Any parameters for the message.
| |
actor:Object (default = null ) — The object instance relating to the message (typically specified as this ).
| |
error:Error (default = null ) — An error associated with the message.
|
getLoggerByClass | () | método |
public static function getLoggerByClass(clss:Class, name:String = null, logger:ILogger = null):Logger
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versiones de motor de ejecución: | AIR 1.1, Flash Player 9 |
Get a Logger.
Parámetros
clss:Class — The class for which this logger will log messages.
| |
name:String (default = null ) — An optional name for the logger, typically only used when a single class needs to have multiple loggers.
| |
logger:ILogger (default = null ) — The actual ILogger object to use for logging; only specified in special circumstances.
|
Logger |
info | () | método |
public function info(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versiones de motor de ejecución: | AIR 1.1, Flash Player 9 |
Log an INFO message.
Parámetros
message:String — The message to be logged.
| |
params:Object (default = null ) — Any parameters for the message.
| |
actor:Object (default = null ) — The object instance relating to the message (typically specified as this ).
| |
error:Error (default = null ) — An error associated with the message.
|
isLoggable | () | método |
public function isLoggable(level:int):Boolean
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versiones de motor de ejecución: | AIR 1.1, Flash Player 9 |
Determine whether a message will be logged.
Parámetros
level:int — The logging level of the message.
|
Boolean — true if the message will be logged, false otherwise.
|
log | () | método |
public function log(level:int, message:String, params:Object = null, actor:Object = null, error:Error = null):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versiones de motor de ejecución: | AIR 1.1, Flash Player 9 |
Log a message at the specified level.
Parámetros
level:int — The level for the message.
| |
message:String — The message to be logged.
| |
params:Object (default = null ) — Any parameters for the message.
| |
actor:Object (default = null ) — The object instance relating to the message (typically specified as this ).
| |
error:Error (default = null ) — An error associated with the message.
|
severe | () | método |
public function severe(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versiones de motor de ejecución: | AIR 1.1, Flash Player 9 |
Log a SEVERE message.
Parámetros
message:String — The message to be logged.
| |
params:Object (default = null ) — Any parameters for the message.
| |
actor:Object (default = null ) — The object instance relating to the message (typically specified as this ).
| |
error:Error (default = null ) — An error associated with the message.
|
warning | () | método |
public function warning(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Versiones de motor de ejecución: | AIR 1.1, Flash Player 9 |
Log a WARNING message.
Parámetros
message:String — The message to be logged.
| |
params:Object (default = null ) — Any parameters for the message.
| |
actor:Object (default = null ) — The object instance relating to the message (typically specified as this ).
| |
error:Error (default = null ) — An error associated with the message.
|
Tue Jun 12 2018, 02:12 PM Z