Use DI logger in src/Model/Item.php
Co-authored-by: Philipp <admin+Github@philipp.info>
This commit is contained in:
parent
d3cb72c33c
commit
5041aab89e
|
@ -2676,7 +2676,7 @@ class Item
|
|||
foreach ($tags as $tag) {
|
||||
if (Strings::compareLink($link, $tag['url']) || Strings::compareLink($dlink, $tag['url'])) {
|
||||
$mention = true;
|
||||
Logger::log('mention found in tag: ' . $tag['url']);
|
||||
DI::logger()->info('mention found in tag.', ['url' => $tag['url']]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue