https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f377a0f
)
Logger - Forgot Logger::init() with VoidLogger
author
Philipp Holzer
<admin@philipp.info>
Sat, 2 Mar 2019 13:40:59 +0000
(14:40 +0100)
committer
Philipp Holzer
<admin@philipp.info>
Sat, 2 Mar 2019 13:40:59 +0000
(14:40 +0100)
src/Factory/LoggerFactory.php
patch
|
blob
|
history
diff --git
a/src/Factory/LoggerFactory.php
b/src/Factory/LoggerFactory.php
index
9500c53
..
d36cebd
100644
(file)
--- a/
src/Factory/LoggerFactory.php
+++ b/
src/Factory/LoggerFactory.php
@@
-32,7
+32,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;
}
switch ($config->get('system', 'logger_adapter', 'monolog')) {