Paket | com.adobe.gravity.utility.logging |
Klasse | public class Logger |
Vererbung | Logger Object |
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client-Komponenten-Framework 10 |
Laufzeitversionen: | 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); } }
Öffentliche Eigenschaften
Eigenschaft | Definiert von | ||
---|---|---|---|
constructor : Object
Ein Verweis auf das Klassenobjekt oder die Konstruktorfunktion für eine angegebene Objektinstanz. | Object | ||
name : String [schreibgeschützt]
The name of the Logger instance. | Logger |
Öffentliche Methoden
Methode | Definiert von | ||
---|---|---|---|
Log a CONFIG message. | Logger | ||
Log a FINE message. | Logger | ||
Log a FINER message. | Logger | ||
Log a FINEST message. | Logger | ||
[statisch]
Get a Logger. | Logger | ||
Gibt an, ob für ein Objekt eine bestimmte Eigenschaft definiert wurde. | Object | ||
Log an INFO message. | Logger | ||
Determine whether a message will be logged. | Logger | ||
Gibt an, ob eine Instanz der Object-Klasse in der Prototypkette des Objekts vorhanden ist, das als Parameter angegeben wurde. | Object | ||
Log a message at the specified level. | Logger | ||
Gibt an, ob die angegebene Eigenschaft vorhanden ist und durchlaufen werden kann. | Object | ||
Legt die Verfügbarkeit einer dynamischen Eigenschaft für Schleifenoperationen fest. | Object | ||
Log a SEVERE message. | Logger | ||
Gibt die Stringdarstellung dieses Objekts zurück, formatiert entsprechend den Konventionen des Gebietsschemas. | Object | ||
Gibt das angegebene Objekt als String zurück. | Object | ||
Gibt den Grundwert des angegebenen Objekts zurück. | Object | ||
Log a WARNING message. | Logger |
Eigenschaftendetails
name | Eigenschaft |
Methodendetails
config | () | Methode |
public function config(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client-Komponenten-Framework 10 |
Laufzeitversionen: | AIR 1.1, Flash Player 9 |
Log a CONFIG message.
Parameter
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 | () | Methode |
public function fine(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client-Komponenten-Framework 10 |
Laufzeitversionen: | AIR 1.1, Flash Player 9 |
Log a FINE message.
Parameter
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 | () | Methode |
public function finer(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client-Komponenten-Framework 10 |
Laufzeitversionen: | AIR 1.1, Flash Player 9 |
Log a FINER message.
Parameter
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 | () | Methode |
public function finest(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client-Komponenten-Framework 10 |
Laufzeitversionen: | AIR 1.1, Flash Player 9 |
Log a FINEST message.
Parameter
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 | () | Methode |
public static function getLoggerByClass(clss:Class, name:String = null, logger:ILogger = null):Logger
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client-Komponenten-Framework 10 |
Laufzeitversionen: | AIR 1.1, Flash Player 9 |
Get a Logger.
Parameter
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 | () | Methode |
public function info(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client-Komponenten-Framework 10 |
Laufzeitversionen: | AIR 1.1, Flash Player 9 |
Log an INFO message.
Parameter
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 | () | Methode |
public function isLoggable(level:int):Boolean
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client-Komponenten-Framework 10 |
Laufzeitversionen: | AIR 1.1, Flash Player 9 |
Determine whether a message will be logged.
Parameter
level:int — The logging level of the message.
|
Boolean — true if the message will be logged, false otherwise.
|
log | () | Methode |
public function log(level:int, message:String, params:Object = null, actor:Object = null, error:Error = null):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client-Komponenten-Framework 10 |
Laufzeitversionen: | AIR 1.1, Flash Player 9 |
Log a message at the specified level.
Parameter
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 | () | Methode |
public function severe(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client-Komponenten-Framework 10 |
Laufzeitversionen: | AIR 1.1, Flash Player 9 |
Log a SEVERE message.
Parameter
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 | () | Methode |
public function warning(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Sprachversion: | ActionScript 3.0 |
Produktversion: | Adobe Digital Enterprise Platform Experience Services - Client-Komponenten-Framework 10 |
Laufzeitversionen: | AIR 1.1, Flash Player 9 |
Log a WARNING message.
Parameter
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, 10:04 AM Z