mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-04 08:28:57 +02:00
- factored constants out;
- fixed bug: "releases list" command would die checking for unnecessary --release parameter; - console prints log file name if if logging is enabled
This commit is contained in:
@@ -106,6 +106,11 @@ class Console
|
||||
$showGreetings = false;
|
||||
} else {
|
||||
self::$logEnabled = $config->general('logging', false);
|
||||
if(self::$logEnabled)
|
||||
{
|
||||
self::log("Logging enabled");
|
||||
self::output('<red> Logging enabled: ' . self::getLogFile() . '</red>', 1, 1);
|
||||
}
|
||||
}
|
||||
|
||||
// Greetings
|
||||
|
||||
Reference in New Issue
Block a user