mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-22 00:56:08 +02:00
Code cleanups
This commit is contained in:
@@ -70,9 +70,9 @@ class SyslogUdpHandler extends AbstractSyslogHandler
|
||||
|
||||
protected function write(LogRecord $record): void
|
||||
{
|
||||
$lines = $this->splitMessageIntoLines($record['formatted']);
|
||||
$lines = $this->splitMessageIntoLines($record->formatted);
|
||||
|
||||
$header = $this->makeCommonSyslogHeader($this->logLevels[$record['level']], $record['datetime']);
|
||||
$header = $this->makeCommonSyslogHeader($this->logLevels[$record->level], $record->datetime);
|
||||
|
||||
foreach ($lines as $line) {
|
||||
$this->socket->write($line, $header);
|
||||
|
Reference in New Issue
Block a user