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

@ -313,11 +313,11 @@ function wppost_send(&$a,&$b) {
EOT;
Logger::log('wppost: data: ' . $xml, LOGGER_DATA);
Logger::log('wppost: data: ' . $xml, Logger::DATA);
if ($wp_blog !== 'test') {
$x = Network::post($wp_blog, $xml)->getBody();
}
Logger::log('posted to wordpress: ' . (($x) ? $x : ''), LOGGER_DEBUG);
Logger::log('posted to wordpress: ' . (($x) ? $x : ''), Logger::DEBUG);
}
}