Add ability to set 'verbose_logging' for environment

This commit is contained in:
Kuba Turek 2014-11-11 20:38:26 +01:00
parent 0734c7be0a
commit d63d105471

View file

@ -306,7 +306,9 @@ class Console
*/ */
protected static function isVerboseLoggingEnabled() protected static function isVerboseLoggingEnabled()
{ {
return self::$config->getParameter('verbose', false) || self::$config->general('verbose_logging'); return self::$config->getParameter('verbose', false)
|| self::$config->general('verbose_logging')
|| self::$config->environmentConfig('verbose_logging', false);
} }
} }