mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 17:58:41 +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;
|
||||
}
|
||||
|
||||
if ($this->verbose) {
|
||||
if ($this->verbose || php_sapi_name() === 'cli') {
|
||||
echo $message, "\n";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user