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

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