48 if (!function_exists(
'zend_monitor_custom_event')) {
57 protected function write(array $record)
60 $this->levelMap[$record[
'level']],
75 zend_monitor_custom_event(
$level, $message, $formatted);
Base Handler class providing the Handler structure.
Exception can be thrown if an extension for an handler is missing.
Handler sending logs to Zend Monitor.
writeZendMonitorCustomEvent($level, $message, $formatted)
Write a record to Zend Monitor.
write(array $record)
{Writes the record down to the log of the implementing handler.void}
getLevelMap()
Get the level map.
__construct($level=Logger::DEBUG, $bubble=true)
Construct.
getDefaultFormatter()
{Gets the default formatter.FormatterInterface}
const EMERGENCY
Urgent alert.
const ERROR
Runtime errors.
const CRITICAL
Critical conditions.
const WARNING
Exceptional occurrences that are not errors.
const INFO
Interesting events.
const DEBUG
Detailed debug information.
const NOTICE
Uncommon events.
const ALERT
Action must be taken immediately.