Paket | com.adobe.gravity.utility.logging |
Klass | public class Logger |
Arv | Logger Object |
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | 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); } }
Publika egenskaper
Egenskap | Definieras med | ||
---|---|---|---|
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
name : String [skrivskyddad]
The name of the Logger instance. | Logger |
Publika metoder
Metod | Definieras med | ||
---|---|---|---|
Log a CONFIG message. | Logger | ||
Log a FINE message. | Logger | ||
Log a FINER message. | Logger | ||
Log a FINEST message. | Logger | ||
[statisk]
Get a Logger. | Logger | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Log an INFO message. | Logger | ||
Determine whether a message will be logged. | Logger | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Log a message at the specified level. | Logger | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Log a SEVERE message. | Logger | ||
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 | ||
Log a WARNING message. | Logger |
Egenskapsdetaljer
name | egenskap |
Metoddetaljer
config | () | metod |
public function config(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | AIR 1.1, Flash Player 9 |
Log a CONFIG message.
Parametrar
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 | () | metod |
public function fine(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | AIR 1.1, Flash Player 9 |
Log a FINE message.
Parametrar
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 | () | metod |
public function finer(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | AIR 1.1, Flash Player 9 |
Log a FINER message.
Parametrar
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 | () | metod |
public function finest(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | AIR 1.1, Flash Player 9 |
Log a FINEST message.
Parametrar
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 | () | metod |
public static function getLoggerByClass(clss:Class, name:String = null, logger:ILogger = null):Logger
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | AIR 1.1, Flash Player 9 |
Get a Logger.
Parametrar
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 | () | metod |
public function info(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | AIR 1.1, Flash Player 9 |
Log an INFO message.
Parametrar
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 | () | metod |
public function isLoggable(level:int):Boolean
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | AIR 1.1, Flash Player 9 |
Determine whether a message will be logged.
Parametrar
level:int — The logging level of the message.
|
Boolean — true if the message will be logged, false otherwise.
|
log | () | metod |
public function log(level:int, message:String, params:Object = null, actor:Object = null, error:Error = null):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | AIR 1.1, Flash Player 9 |
Log a message at the specified level.
Parametrar
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 | () | metod |
public function severe(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | AIR 1.1, Flash Player 9 |
Log a SEVERE message.
Parametrar
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 | () | metod |
public function warning(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Språkversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Körningsmiljöversioner: | AIR 1.1, Flash Player 9 |
Log a WARNING message.
Parametrar
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, 01:40 PM Z