Logger Levels

update logger levels in calls
This commit is contained in:
Adam Magness 2018-10-30 09:58:45 -04:00
parent 91ef9f238c
commit 50da89d861
86 changed files with 673 additions and 673 deletions

View file

@ -124,7 +124,7 @@ class ParseUrl
}
if ($count > 10) {
Logger::log('Endless loop detected for ' . $url, LOGGER_DEBUG);
Logger::log('Endless loop detected for ' . $url, Logger::DEBUG);
return $siteinfo;
}
@ -188,7 +188,7 @@ class ParseUrl
}
if (($charset != '') && (strtoupper($charset) != 'UTF-8')) {
Logger::log('detected charset ' . $charset, LOGGER_DEBUG);
Logger::log('detected charset ' . $charset, Logger::DEBUG);
$body = iconv($charset, 'UTF-8//TRANSLIT', $body);
}
@ -422,7 +422,7 @@ class ParseUrl
}
}
Logger::log('Siteinfo for ' . $url . ' ' . print_r($siteinfo, true), LOGGER_DEBUG);
Logger::log('Siteinfo for ' . $url . ' ' . print_r($siteinfo, true), Logger::DEBUG);
Addon::callHooks('getsiteinfo', $siteinfo);