"log" is replaced with the corresponding logging functions

This commit is contained in:
Michael 2021-10-21 06:04:27 +00:00
parent fd078ee0e2
commit 0bf6612ea3
31 changed files with 72 additions and 72 deletions

View file

@ -171,7 +171,7 @@ function libertree_post_local(&$a,&$b) {
function libertree_send(&$a,&$b) {
Logger::log('libertree_send: invoked');
Logger::notice('libertree_send: invoked');
if ($b['deleted'] || $b['private'] || ($b['created'] !== $b['edited'])) {
return;
@ -236,6 +236,6 @@ function libertree_send(&$a,&$b) {
];
$result = DI::httpClient()->post($ltree_blog, $params)->getBody();
Logger::log('libertree: ' . $result);
Logger::notice('libertree: ' . $result);
}
}