mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-10 22:18:40 +00:00
Always log verbose in console
This commit is contained in:
parent
a112735b92
commit
10c2e5e445
|
|
@ -298,7 +298,7 @@ class FileLogger implements LoggerInterface
|
||||||
$this->fp = false;
|
$this->fp = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->verbose) {
|
if ($this->verbose || php_sapi_name() === 'cli') {
|
||||||
echo $message, "\n";
|
echo $message, "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user