Pakket | mx.logging |
Klasse | public class LogLogger |
Overerving | LogLogger EventDispatcher Object |
Implementatie | ILogger |
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
log()
method.
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
category : String [alleen-lezen]
The category this logger send messages for. | LogLogger | ||
constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | Object |
Methode | Gedefinieerd door | ||
---|---|---|---|
Constructor. | LogLogger | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registreert een gebeurtenislistenerobject bij een object EventDispatcher, zodat de listener een melding van een gebeurtenis ontvangt. | EventDispatcher | ||
Logs the specified data using the LogEventLevel.DEBUG
level. | LogLogger | ||
Verzendt een gebeurtenis naar de gebeurtenisstroom. | EventDispatcher | ||
Logs the specified data using the LogEventLevel.ERROR
level. | LogLogger | ||
Logs the specified data using the LogEventLevel.FATAL
level. | LogLogger | ||
Controleert of het object EventDispatcher listeners heeft geregistreerd voor een specifiek type gebeurtenis. | EventDispatcher | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Logs the specified data using the LogEvent.INFO level. | LogLogger | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Logs the specified data at the given level. | LogLogger | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Verwijdert een listener uit het object EventDispatcher. | EventDispatcher | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeksrepresentatie van het opgegeven object. | Object | ||
Retourneert de primitieve waarde van het opgegeven object. | Object | ||
Logs the specified data using the LogEventLevel.WARN level. | LogLogger | ||
Controleert of een gebeurtenislistener is geregistreerd bij dit object EventDispatcher of een van de voorouders voor het opgegeven type gebeurtenis. | EventDispatcher |
category | eigenschap |
LogLogger | () | Constructor |
debug | () | methode |
public function debug(msg:String, ... rest):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Parameters
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 | () | methode |
public function error(msg:String, ... rest):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Parameters
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 | () | methode |
public function fatal(msg:String, ... rest):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Parameters
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 | () | methode |
public function info(msg:String, ... rest):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Parameters
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 | () | methode |
public function log(level:int, msg:String, ... rest):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Parameters
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 | () | methode |
public function warn(msg:String, ... rest):void
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Parameters
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.
|
Wed Jun 13 2018, 11:42 AM Z