mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-02 22:02:16 +02:00
Enable configurable verbose logging
This commit is contained in:
parent
609745ccc4
commit
575632d62b
|
@ -227,6 +227,10 @@ class Console
|
|||
|
||||
$message = date('Y-m-d H:i:s -- ') . $message;
|
||||
fwrite(self::$log, $message . PHP_EOL);
|
||||
|
||||
if (self::$config->general('verbose_logging', false)) {
|
||||
echo $message . PHP_EOL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue