mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-09 13:01:45 +01:00
Update FileLogDriver.php
This commit is contained in:
parent
efd4810e83
commit
2e91c1ed3d
@ -49,6 +49,7 @@ class FileLogDriver implements LogDriver {
|
||||
$line = "{$this->name} $lv: $message\n";
|
||||
\flock($this->fd, LOCK_EX);
|
||||
\fwrite($this->fd, $line);
|
||||
\fflush($this->fd);
|
||||
\flock($this->fd, LOCK_UN);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user