mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-06 08:37:30 +02:00
refactor: drop usage of Debug::log (#4202)
* refactor: drop usage of Debug::log * lint
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user