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

@ -222,12 +222,12 @@ function ijpost_send(&$a, &$b)
EOT;
Logger::log('ijpost: data: ' . $xml, LOGGER_DATA);
Logger::log('ijpost: data: ' . $xml, Logger::DATA);
if ($ij_blog !== 'test') {
$x = Network::post($ij_blog, $xml, ["Content-Type: text/xml"])->getBody();
}
Logger::log('posted to insanejournal: ' . $x ? $x : '', LOGGER_DEBUG);
Logger::log('posted to insanejournal: ' . $x ? $x : '', Logger::DEBUG);
}
}