Improve Logger calls

- Add context in various calls
- Remove deprecated Logger::log call in Processor
This commit is contained in:
Hypolite Petovan 2019-02-23 09:25:21 -05:00
parent cb78e77850
commit 67aa188830
5 changed files with 29 additions and 11 deletions

View file

@ -204,6 +204,8 @@ class Term
$type = self::HASHTAG;
$term = $tag;
$link = '';
Logger::notice('Unknown term type', ['tag' => $tag]);
}
if (DBA::exists('term', ['uid' => $item['uid'], 'otype' => self::OBJECT_TYPE_POST, 'oid' => $item_id, 'term' => $term, 'type' => $type])) {