Свойство | Type | Description | |
---|---|---|---|
$_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. |
Méthode | Description | |
---|---|---|
__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(). |
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. |
protected Horde_Support_Backtrace $_backtrace | ||
Résultat | Horde_Support_Backtrace |
protected Exception $_exception | ||
Résultat | Exception |
protected bool $_logged | ||
Résultat | boolean |