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

@ -226,13 +226,13 @@ function dwpost_send(App $a, array &$b)
EOT;
Logger::log('dwpost: data: ' . $xml, LOGGER_DATA);
Logger::log('dwpost: data: ' . $xml, Logger::DATA);
if ($dw_blog !== 'test') {
$x = Network::post($dw_blog, $xml, ["Content-Type: text/xml"])->getBody();
}
Logger::log('posted to dreamwidth: ' . ($x) ? $x : '', LOGGER_DEBUG);
Logger::log('posted to dreamwidth: ' . ($x) ? $x : '', Logger::DEBUG);
}
}