패키지 | com.adobe.gravity.utility.logging |
클래스 | public class Logger |
상속 | Logger Object |
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | 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); } }
공용 속성
속성 | 정의 주체 | ||
---|---|---|---|
constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object | ||
name : String [읽기 전용]
The name of the Logger instance. | Logger |
공용 메서드
메서드 | 정의 주체 | ||
---|---|---|---|
Log a CONFIG message. | Logger | ||
Log a FINE message. | Logger | ||
Log a FINER message. | Logger | ||
Log a FINEST message. | Logger | ||
[정적]
Get a Logger. | Logger | ||
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | ||
Log an INFO message. | Logger | ||
Determine whether a message will be logged. | Logger | ||
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | ||
Log a message at the specified level. | Logger | ||
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | ||
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | ||
Log a SEVERE message. | Logger | ||
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 문자열 표현을 반환합니다. | Object | ||
지정된 객체의 프리미티브 값을 반환합니다. | Object | ||
Log a WARNING message. | Logger |
속성 세부 정보
name | 속성 |
메서드 세부 정보
config | () | 메서드 |
public function config(message:String, params:Object = null, actor:Object = null, error:Error = null):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
Log a CONFIG 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.
|
fine | () | 메서드 |
public function fine(message:String, params:Object = null, actor:Object = null, error:Error = null):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
Log a FINE 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.
|
finer | () | 메서드 |
public function finer(message:String, params:Object = null, actor:Object = null, error:Error = null):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
Log a FINER 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.
|
finest | () | 메서드 |
public function finest(message:String, params:Object = null, actor:Object = null, error:Error = null):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
Log a FINEST 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.
|
getLoggerByClass | () | 메서드 |
public static function getLoggerByClass(clss:Class, name:String = null, logger:ILogger = null):Logger
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
Get a Logger.
매개 변수
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 | () | 메서드 |
public function info(message:String, params:Object = null, actor:Object = null, error:Error = null):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
Log an INFO 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.
|
isLoggable | () | 메서드 |
public function isLoggable(level:int):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.
|
Boolean — true if the message will be logged, false otherwise.
|
log | () | 메서드 |
public function log(level:int, message:String, params:Object = null, actor:Object = null, error:Error = null):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
Log a message at the specified level.
매개 변수
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 | () | 메서드 |
public function severe(message:String, params:Object = null, actor:Object = null, error:Error = null):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
Log a SEVERE 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.
|
warning | () | 메서드 |
public function warning(message:String, params:Object = null, actor:Object = null, error:Error = null):void
언어 버전: | ActionScript 3.0 |
제품 버전: | Adobe Digital Enterprise Platform Experience Services - Client Component Framework 10 |
런타임 버전: | AIR 1.1, Flash Player 9 |
Log a WARNING 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.
|
Tue Jun 12 2018, 03:17 PM Z