1
0
mirror of https://github.com/hauke68/Magallanes.git synced 2025-08-26 21:30:18 +02:00

Enable configurable verbose logging

This commit is contained in:
Kuba Turek 2014-10-31 20:06:54 +01:00
parent 609745ccc4
commit 575632d62b

View File

@ -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;
}
}
}