1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-21 16:46:11 +02:00

Added the support of a logging context

This commit is contained in:
Christophe Coevoet
2011-06-01 00:10:38 +02:00
parent a8d4fc4a34
commit c1675c59d8
13 changed files with 74 additions and 60 deletions

View File

@@ -104,6 +104,6 @@ class SyslogHandler extends AbstractProcessingHandler
*/
protected function write(array $record)
{
syslog($this->logLevels[$record['level']], (string) $record['message']);
syslog($this->logLevels[$record['level']], (string) $record['formatted']);
}
}