mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-19 14:52:13 +02:00
refactor: format rendering (#4229)
This commit is contained in:
@@ -62,8 +62,11 @@ register_shutdown_function(function () use ($logger) {
|
||||
|
||||
$cacheFactory = new CacheFactory($logger);
|
||||
|
||||
// Uncomment this for debug logging
|
||||
// $logger->addHandler(new StreamHandler('/tmp/rss-bridge.txt', Logger::DEBUG));
|
||||
// Uncomment this for info logging to fs
|
||||
// $logger->addHandler(new StreamHandler('/tmp/rss-bridge.txt', Logger::INFO));
|
||||
|
||||
// Uncomment this for debug logging to fs
|
||||
// $logger->addHandler(new StreamHandler('/tmp/rss-bridge-debug.txt', Logger::DEBUG));
|
||||
|
||||
if (Debug::isEnabled()) {
|
||||
$logger->addHandler(new ErrorLogHandler(Logger::DEBUG));
|
||||
|
Reference in New Issue
Block a user