Pakiet | mx.logging |
Klasa | public class LogLogger |
Dziedziczenie | LogLogger EventDispatcher Object |
Implementuje | ILogger |
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
log()
method.
Właściwość | Zdefiniowane przez | ||
---|---|---|---|
category : String [tylko do odczytu]
The category this logger send messages for. | LogLogger | ||
constructor : Object
Odwołanie do obiektu klasy lub funkcji konstruktora, dotyczące danej instancji obiektu. | Object |
Metoda | Zdefiniowane przez | ||
---|---|---|---|
Constructor. | LogLogger | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Rejestruje obiekt detektora zdarzeń w obiekcie EventDispatcher, dzięki czemu detektor będzie otrzymywał powiadomienia o zdarzeniu. | EventDispatcher | ||
Logs the specified data using the LogEventLevel.DEBUG
level. | LogLogger | ||
Wywołuje zdarzenie, tj. kieruje je do przepływu zdarzeń. | EventDispatcher | ||
Logs the specified data using the LogEventLevel.ERROR
level. | LogLogger | ||
Logs the specified data using the LogEventLevel.FATAL
level. | LogLogger | ||
Sprawdza, czy obiekt EventDispatcher zawiera jakiekolwiek detektory zarejestrowane dla konkretnego typu zdarzeń. | EventDispatcher | ||
Wskazuje, czy dla obiektu zdefiniowano określoną właściwość. | Object | ||
Logs the specified data using the LogEvent.INFO level. | LogLogger | ||
Wskazuje, czy instancja klasy Object należy do łańcucha prototypów obiektu określonego jako parametr. | Object | ||
Logs the specified data at the given level. | LogLogger | ||
Wskazuje, czy określona właściwość istnieje i jest przeliczalna. | Object | ||
Usuwa detektor z obiektu EventDispatcher. | EventDispatcher | ||
Ustawia dostępność właściwości dynamicznej używanej w pętlach. | Object | ||
Zwraca ciąg reprezentujący obiekt — sformatowany zgodnie z konwencjami właściwymi dla ustawień regionalnych. | Object | ||
Zwraca ciąg reprezentujący określony obiekt. | Object | ||
Zwraca pierwotną wartość dla określonego obiektu. | Object | ||
Logs the specified data using the LogEventLevel.WARN level. | LogLogger | ||
Sprawdza, czy detektor zdarzeń określonego typu jest zarejestrowany w tym obiekcie EventDispatcher lub jego elementach macierzystych. | EventDispatcher |
category | właściwość |
LogLogger | () | Konstruktor |
debug | () | metoda |
public function debug(msg:String, ... rest):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Logs the specified data using the LogEventLevel.DEBUG
level.
LogEventLevel.DEBUG
designates informational level
messages that are fine grained and most helpful when debugging
an application.
The string specified for logging can contain braces with an index indicating which additional parameter should be inserted into the string before it is logged. For example "the first additional parameter was {0} the second was {1}" will be translated into "the first additional parameter was 10 the second was 15" when called with 10 and 15 as parameters.
Parametry
msg:String — The information to log.
This string can contain special marker characters of the form {x},
where x is a zero based index that will be replaced with
the additional parameters found at that index if specified.
| |
... rest — Additional parameters that can be subsituted in the str
parameter at each "{x }" location, where x
is an integer (zero based) index value into the Array of values
specified.
|
error | () | metoda |
public function error(msg:String, ... rest):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Logs the specified data using the LogEventLevel.ERROR
level.
LogEventLevel.ERROR
designates error events
that might still allow the application to continue running.
The string specified for logging can contain braces with an index indicating which additional parameter should be inserted into the string before it is logged. For example "the first additional parameter was {0} the second was {1}" will be translated into "the first additional parameter was 10 the second was 15" when called with 10 and 15 as parameters.
Parametry
msg:String — The information to log.
This String can contain special marker characters of the form {x},
where x is a zero based index that will be replaced with
the additional parameters found at that index if specified.
| |
... rest — Additional parameters that can be subsituted in the str
parameter at each "{x }" location, where x
is an integer (zero based) index value into the Array of values
specified.
|
fatal | () | metoda |
public function fatal(msg:String, ... rest):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Logs the specified data using the LogEventLevel.FATAL
level.
LogEventLevel.FATAL
designates events that are very
harmful and will eventually lead to application failure
The string specified for logging can contain braces with an index indicating which additional parameter should be inserted into the string before it is logged. For example "the first additional parameter was {0} the second was {1}" will be translated into "the first additional parameter was 10 the second was 15" when called with 10 and 15 as parameters.
Parametry
msg:String — The information to log.
This String can contain special marker characters of the form {x},
where x is a zero based index that will be replaced with
the additional parameters found at that index if specified.
| |
... rest — Additional parameters that can be subsituted in the str
parameter at each "{x }" location, where x
is an integer (zero based) index value into the Array of values
specified.
|
info | () | metoda |
public function info(msg:String, ... rest):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Logs the specified data using the LogEvent.INFO
level.
LogEventLevel.INFO
designates informational messages that
highlight the progress of the application at coarse-grained level.
The string specified for logging can contain braces with an index indicating which additional parameter should be inserted into the string before it is logged. For example "the first additional parameter was {0} the second was {1}" will be translated into "the first additional parameter was 10 the second was 15" when called with 10 and 15 as parameters.
Parametry
msg:String — The information to log.
This String can contain special marker characters of the form {x},
where x is a zero based index that will be replaced with
the additional parameters found at that index if specified.
| |
... rest — Additional parameters that can be subsituted in the str
parameter at each "{x }" location, where x
is an integer (zero based) index value into the Array of values
specified.
|
log | () | metoda |
public function log(level:int, msg:String, ... rest):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Logs the specified data at the given level.
The String specified for logging can contain braces with an index indicating which additional parameter should be inserted into the String before it is logged. For example "the first additional parameter was {0} the second was {1}" is translated into "the first additional parameter was 10 the second was 15" when called with 10 and 15 as parameters.
Parametry
level:int — The level this information should be logged at.
Valid values are:
| |
msg:String — The information to log.
This String can contain special marker characters of the form {x},
where x is a zero based index that will be replaced with
the additional parameters found at that index if specified.
| |
... rest — Additional parameters that can be subsituted in the str
parameter at each "{x }" location, where x
is an integer (zero based) index value into the Array of values
specified.
|
warn | () | metoda |
public function warn(msg:String, ... rest):void
Wersja języka: | ActionScript 3.0 |
Wersja produktu: | Flex 3 |
Wersje środowiska wykonawczego: | Flash Player 9, AIR 1.1 |
Logs the specified data using the LogEventLevel.WARN
level.
LogEventLevel.WARN
designates events that could be harmful
to the application operation.
The string specified for logging can contain braces with an index indicating which additional parameter should be inserted into the string before it is logged. For example "the first additional parameter was {0} the second was {1}" will be translated into "the first additional parameter was 10 the second was 15" when called with 10 and 15 as parameters.
Parametry
msg:String — The information to log.
This String can contain special marker characters of the form {x},
where x is a zero based index that will be replaced with
the additional parameters found at that index if specified.
| |
... rest — Aadditional parameters that can be subsituted in the str
parameter at each "{x }" location, where x
is an integer (zero based) index value into the Array of values
specified.
|
Tue Jun 12 2018, 12:06 PM Z