mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-23 09:36:11 +02:00
Renamed message to record
This commit is contained in:
@@ -36,7 +36,7 @@ class StreamHandler extends AbstractHandler
|
||||
}
|
||||
}
|
||||
|
||||
public function write($message)
|
||||
public function write($record)
|
||||
{
|
||||
if (null === $this->stream) {
|
||||
if (!$this->url) {
|
||||
@@ -47,7 +47,7 @@ class StreamHandler extends AbstractHandler
|
||||
throw new \UnexpectedValueException('The stream could not be opened, "'.$this->url.'" may be an invalid url.');
|
||||
}
|
||||
}
|
||||
fwrite($this->stream, (string) $message['message']);
|
||||
fwrite($this->stream, (string) $record['message']);
|
||||
}
|
||||
|
||||
public function close()
|
||||
|
Reference in New Issue
Block a user