PHP 클래스 Horde_Core_Log_Object, horde

부터: 2.5.0
저자: Michael Slusarz ([email protected])
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_backtrace Horde_Support_Backtrace Exception backtrace.
$_exception Exception Original exception.
$_logged boolean Has this object been logged?
$_message string Log message.
$_priority integer Log priority.
$_timestamp integer Log timestamp.

공개 메소드들

메소드 설명
__construct ( mixed $event, mixed $priority = null, array $options = [] ) Constructor.
__get ( $name )
__set ( $name, $value )
toArray ( ) : array Formats the object for use with Horde_Log_Logger#out().

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( mixed $event, mixed $priority = null, array $options = [] )
$event mixed Either a string (log string), an array (containing 'level', 'message', and 'timestamp' entries) or an object with a getMessage() method (e.g. PEAR_Error, Exception).
$priority mixed The priority of the message. Integers correspond to Horde_Log constants. String values are auto translated to Horde_Log constants.
$options array Additional options: - file: (string) The filename to use in the log message. - line: (integer) The file line to use in the log message. - notracelog: (boolean) If true, don't output backtrace. - trace: (integer) The trace level of the original log location.

__get() 공개 메소드

public __get ( $name )

__set() 공개 메소드

public __set ( $name, $value )

toArray() 공개 메소드

Formats the object for use with Horde_Log_Logger#out().
public toArray ( ) : array
리턴 array Array containting log output information.

프로퍼티 상세

$_backtrace 보호되어 있는 프로퍼티

Exception backtrace.
protected Horde_Support_Backtrace $_backtrace
리턴 Horde_Support_Backtrace

$_exception 보호되어 있는 프로퍼티

Original exception.
protected Exception $_exception
리턴 Exception

$_logged 보호되어 있는 프로퍼티

Has this object been logged?
protected bool $_logged
리턴 boolean

$_message 보호되어 있는 프로퍼티

Log message.
protected string $_message
리턴 string

$_priority 보호되어 있는 프로퍼티

Log priority.
protected int $_priority
리턴 integer

$_timestamp 보호되어 있는 프로퍼티

Log timestamp.
protected int $_timestamp
리턴 integer