https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
f377a0f
)
Merge pull request #6791 from nupplaphil/issue/forgot_logger_init
author
Hypolite Petovan
<hypolite@mrpetovan.com>
Sat, 2 Mar 2019 14:13:50 +0000
(09:13 -0500)
committer
GitHub
<noreply@github.com>
Sat, 2 Mar 2019 14:13:50 +0000
(09:13 -0500)
Logger - Forgot Logger::init() with VoidLogger
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')) {