We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 486935e + a6d9e2d commit 5a836f5Copy full SHA for 5a836f5
1 file changed
src/Logging/EventLogger.php
@@ -42,7 +42,8 @@ public function trace(Event $event): void
42
43
$flags = FILE_APPEND;
44
45
- if (PHP_OS_FAMILY !== 'Windows' || $this->path !== 'php://stdout') {
+ if (!(PHP_OS_FAMILY === 'Windows' || PHP_OS_FAMILY === 'Darwin') ||
46
+ $this->path !== 'php://stdout') {
47
$flags |= LOCK_EX;
48
}
49
0 commit comments