mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:25:59 +00:00
debug logging system rework:
* support various logging levels per-message * remove hacks like debug_suppress, DAEMON_EXTENDED_DEBUG, etc * _debug() is kept as a compatibility shim for plugins
This commit is contained in:
@@ -47,8 +47,8 @@ class DbUpdater {
|
||||
print_notice("Query: $line");
|
||||
print_error("Error: " . implode(", ", $this->pdo->errorInfo()));
|
||||
} else {
|
||||
_debug("Query: $line");
|
||||
_debug("Error: " . implode(", ", $this->pdo->errorInfo()));
|
||||
Debug::log("Query: $line");
|
||||
Debug::log("Error: " . implode(", ", $this->pdo->errorInfo()));
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user