ActionScript® 3.0 — dokumentacja dla platformy Adobe® Flash®
Strona główna  |  Ukryj listę pakietów i klas |  Pakiety  |  Klasy  |  Nowości  |  Indeks  |  Dodatki  |  Dlaczego język angielski?
Filtry: Pobieranie danych z serwera...
Pobieranie danych z serwera...
com.adobe.gravity.utility.logging 

Logger  - AS3 ADEP Client Component

Pakietcom.adobe.gravity.utility.logging
Klasapublic class Logger
DziedziczenieLogger Inheritance Object

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Wersje środowiska wykonawczego: AIR 1.1, Flash Player 9

The standard logging class. To use, declare an instance as a static private const member of your class:
     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);
       }
     }
     



Właściwości publiczne
 WłaściwośćZdefiniowane przez
 Inheritedconstructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu.
Object
  name : String
[tylko do odczytu] The name of the Logger instance.
Logger
Metody publiczne
 MetodaZdefiniowane przez
  
config(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Log a CONFIG message.
Logger
  
fine(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Log a FINE message.
Logger
  
finer(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Log a FINER message.
Logger
  
finest(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Log a FINEST message.
Logger
  
getLoggerByClass(clss:Class, name:String = null, logger:ILogger = null):Logger
[statyczny] Get a Logger.
Logger
 Inherited
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość.
Object
  
info(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Log an INFO message.
Logger
  
Determine whether a message will be logged.
Logger
 Inherited
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr.
Object
  
log(level:int, message:String, params:Object = null, actor:Object = null, error:Error = null):void
Log a message at the specified level.
Logger
 Inherited
Wskazuje, czy określona właściwość istnieje i jest przeliczalna.
Object
 Inherited
Ustawia dostępność właściwości dynamicznej używanej w pętlach.
Object
  
severe(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Log a SEVERE message.
Logger
 Inherited
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych.
Object
 Inherited
Zwraca ciąg reprezentujący określony obiekt.
Object
 Inherited
Zwraca pierwotną wartość dla określonego obiektu.
Object
  
warning(message:String, params:Object = null, actor:Object = null, error:Error = null):void
Log a WARNING message.
Logger
Szczegół właściwości

name

właściwość
name:String  [tylko do odczytu]

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Wersje środowiska wykonawczego: AIR 1.1, Flash Player 9

The name of the Logger instance.



Implementacja
    public function get name():String
Szczegół metody

config

()metoda
public function config(message:String, params:Object = null, actor:Object = null, error:Error = null):void

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Wersje środowiska wykonawczego: AIR 1.1, Flash Player 9

Log a CONFIG message.

Parametry

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

()metoda 
public function fine(message:String, params:Object = null, actor:Object = null, error:Error = null):void

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Wersje środowiska wykonawczego: AIR 1.1, Flash Player 9

Log a FINE message.

Parametry

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

()metoda 
public function finer(message:String, params:Object = null, actor:Object = null, error:Error = null):void

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Wersje środowiska wykonawczego: AIR 1.1, Flash Player 9

Log a FINER message.

Parametry

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

()metoda 
public function finest(message:String, params:Object = null, actor:Object = null, error:Error = null):void

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Wersje środowiska wykonawczego: AIR 1.1, Flash Player 9

Log a FINEST message.

Parametry

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

()metoda 
public static function getLoggerByClass(clss:Class, name:String = null, logger:ILogger = null):Logger

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Wersje środowiska wykonawczego: AIR 1.1, Flash Player 9

Get a Logger.

Parametry

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.

Zwraca
Logger

info

()metoda 
public function info(message:String, params:Object = null, actor:Object = null, error:Error = null):void

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Wersje środowiska wykonawczego: AIR 1.1, Flash Player 9

Log an INFO message.

Parametry

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

()metoda 
public function isLoggable(level:int):Boolean

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Wersje środowiska wykonawczego: AIR 1.1, Flash Player 9

Determine whether a message will be logged.

Parametry

level:int — The logging level of the message.

Zwraca
Boolean — true if the message will be logged, false otherwise.

log

()metoda 
public function log(level:int, message:String, params:Object = null, actor:Object = null, error:Error = null):void

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Wersje środowiska wykonawczego: AIR 1.1, Flash Player 9

Log a message at the specified level.

Parametry

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

()metoda 
public function severe(message:String, params:Object = null, actor:Object = null, error:Error = null):void

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Wersje środowiska wykonawczego: AIR 1.1, Flash Player 9

Log a SEVERE message.

Parametry

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

()metoda 
public function warning(message:String, params:Object = null, actor:Object = null, error:Error = null):void

Wersja języka: ActionScript 3.0
Wersja produktu: Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10
Wersje środowiska wykonawczego: AIR 1.1, Flash Player 9

Log a WARNING message.

Parametry

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.





[ X ]Dlaczego język angielski?
Treść dokumentacji języka ActionScript 3.0 wyświetlana w języku angielskim

Niektóre części dokumentacji języka ActionScript 3.0 nie są przetłumaczone na poszczególne języki. Gdy element nie jest przetłumaczony na dany język, jest wyświetlany tekst angielski. Na przykład opis klasy ga.controls.HelpBox nie jest przetłumaczony na żaden dodatkowy język. Z tego powodu polska wersja dokumentacji zawiera opis klasy ga.controls.HelpBox w języku angielskim.