60 protected function write(array $record)
62 if (!openlog($this->ident, $this->logopts, $this->facility)) {
63 throw new \LogicException(
'Can\'t open syslog for ident "'.$this->ident.
'" and facility "'.$this->facility.
'"');
65 syslog($this->logLevels[$record[
'level']], (
string) $record[
'formatted']);
Common syslog functionality.
__construct($ident, $facility=LOG_USER, $level=Logger::DEBUG, $bubble=true, $logopts=LOG_PID)
close()
{Closes the handler.This will be called automatically when the object is destroyed}
write(array $record)
{Writes the record down to the log of the implementing handler.void}
const DEBUG
Detailed debug information.