Пакет | com.adobe.gravity.utility.logging |
Интерфейс | public interface ILogger |
Средство реализации | GravityBootstrap, GravityInit |
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Версии среды выполнения: | AIR 1.1, Flash Player 9 |
Общедоступные методы
Метод | Определено | ||
---|---|---|---|
Determine whether a message will be logged. | ILogger | ||
log(level:int, timestamp:Date, sequence:Number, loggerName:String, message:String, params:Object, actor:Object, error:Error):void
Log a message. | ILogger |
Сведения о методе
isLoggable | () | метод |
public function isLoggable(level:int, loggerName:String):Boolean
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Версии среды выполнения: | AIR 1.1, Flash Player 9 |
Determine whether a message will be logged.
Параметры
level:int — The logging level of the message.
| |
loggerName:String — The name of the logger to which the message is to be logged.
|
Boolean — true if the message will be logged, false otherwise.
|
log | () | метод |
public function log(level:int, timestamp:Date, sequence:Number, loggerName:String, message:String, params:Object, actor:Object, error:Error):void
Язык версии: | ActionScript 3.0 |
Версия продукта: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
Версии среды выполнения: | AIR 1.1, Flash Player 9 |
Log a message.
Параметры
level:int — The logging level for the message, for example LogLevel.INFO.
| |
timestamp:Date — The timestamp for the logged event.
| |
sequence:Number — A sequence number for absolutely ordering log events, should be computed via Sequence.next().
| |
loggerName:String — The name of the logger. Used for log filtering.
| |
message:String — The log message, will be formatted with FormatMessage.formatString using the provided params object as parameters.
| |
params:Object — Any parameters associated with this message. Used to format the message with FormatMessage.formatString, but also useful to provide additional context for the message. Can be null if there are no parameters.
| |
actor:Object — The originating object for the log message. Used by some loggers to differentiate messages generated by different instances of a class. Can be null if there is no obvious actor.
| |
error:Error — If the message relates to an error, the Error object can be provided. Can be null if there is no associated error object.
|
Tue Jun 12 2018, 11:34 AM Z