mirror of
https://github.com/friendica/friendica
synced 2025-04-26 10:30:11 +00:00
Improve Logger calls
- Replace various deprecated Logger::log calls - Reassign log level for verbose log calls
This commit is contained in:
parent
1917f04153
commit
8c1db51a76
9 changed files with 29 additions and 24 deletions
|
@ -425,7 +425,7 @@ class DBA
|
|||
|
||||
if ((substr_count($sql, '?') != count($args)) && (count($args) > 0)) {
|
||||
// Question: Should we continue or stop the query here?
|
||||
Logger::log('Parameter mismatch. Query "'.$sql.'" - Parameters '.print_r($args, true), Logger::DEBUG);
|
||||
Logger::error('Parameter mismatch. Query "'.$sql.'" - Parameters '.print_r($args, true));
|
||||
}
|
||||
|
||||
$sql = self::cleanQuery($sql);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue