Logger Levels

update logger levels
This commit is contained in:
Adam Magness 2018-10-30 09:48:09 -04:00
parent 49eff56e5d
commit c9a8974165
17 changed files with 123 additions and 123 deletions

View file

@ -160,7 +160,7 @@ function js_upload_post_init(&$a,&$b) {
$a->data['upload_jsonresponse'] = htmlspecialchars(json_encode($result), ENT_NOQUOTES);
if(isset($result['error'])) {
Logger::log('mod/photos.php: photos_post(): error uploading photo: ' . $result['error'] , 'LOGGER_DEBUG');
Logger::log('mod/photos.php: photos_post(): error uploading photo: ' . $result['error'] , Logger::DEBUG);
echo json_encode($result);
killme();
}