"log" is replaced with the corresponding logging functions
This commit is contained in:
parent
fd078ee0e2
commit
0bf6612ea3
31 changed files with 72 additions and 72 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue