mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-28 14:44:41 +02:00
refactor: drop usage of Debug::log (#4202)
* refactor: drop usage of Debug::log * lint
This commit is contained in:
parent
6afd13eb06
commit
2acd415475
20 changed files with 37 additions and 105 deletions
|
@ -100,7 +100,8 @@ final class RssBridge
|
|||
|
||||
public static function getLogger(): Logger
|
||||
{
|
||||
return self::$logger;
|
||||
// null logger is only for the tests not to fail
|
||||
return self::$logger ?? new NullLogger();
|
||||
}
|
||||
|
||||
public static function getCache(): CacheInterface
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue