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. |