mirror of
https://github.com/friendica/friendica
synced 2024-11-10 01:42:53 +00:00
Logger - Forgot Logger::init() with VoidLogger
This commit is contained in:
parent
c4a1fe5272
commit
dd333c76f8
1 changed files with 3 additions and 1 deletions
|
@ -44,7 +44,9 @@ class LoggerFactory
|
|||
public static function create($channel, Configuration $config)
|
||||
{
|
||||
if (empty($config->get('system', 'debugging', false))) {
|
||||
return new VoidLogger();
|
||||
$logger = new VoidLogger();
|
||||
Logger::init($logger);
|
||||
return $logger;
|
||||
}
|
||||
|
||||
$introspector = new Introspection(LogLevel::DEBUG, self::$ignoreClassList);
|
||||
|
|
Loading…
Reference in a new issue