Use DI logger in src/Model/Item.php

Co-authored-by: Philipp <admin+Github@philipp.info>
This commit is contained in:
Hypolite Petovan 2020-09-11 08:06:30 -04:00 committed by GitHub
parent d3cb72c33c
commit 5041aab89e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2676,7 +2676,7 @@ class Item
foreach ($tags as $tag) { foreach ($tags as $tag) {
if (Strings::compareLink($link, $tag['url']) || Strings::compareLink($dlink, $tag['url'])) { if (Strings::compareLink($link, $tag['url']) || Strings::compareLink($dlink, $tag['url'])) {
$mention = true; $mention = true;
Logger::log('mention found in tag: ' . $tag['url']); DI::logger()->info('mention found in tag.', ['url' => $tag['url']]);
} }
} }
} }