1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-05 08:07:33 +02:00

test: add feed item test (#3709)

* test: add feed item test

also some refactor

* yup

* yup
This commit is contained in:
Dag
2023-09-25 22:32:15 +02:00
committed by GitHub
parent cd30c25b08
commit f421c45b21
10 changed files with 98 additions and 81 deletions

View File

@@ -148,7 +148,7 @@ final class StreamHandler
$context
);
error_log($text);
if (Debug::isEnabled()) {
if ($record['level'] < Logger::ERROR && Debug::isEnabled()) {
print sprintf("<pre>%s</pre>\n", e($text));
}
//$bytes = file_put_contents('/tmp/rss-bridge.log', $text, FILE_APPEND | LOCK_EX);