diff --git a/files_opds/lib/meta.php b/files_opds/lib/meta.php index 817c691..dca7dd5 100644 --- a/files_opds/lib/meta.php +++ b/files_opds/lib/meta.php @@ -216,7 +216,7 @@ class Meta $meta['subjects'] = json_encode($epub->Subjects()); } } catch (\Exception $e) { - \OC_Log::write(get_class(), $e->getMessage(), \OC_LOG::ERROR); + \OCP\Util::writeLog(get_class(), $e->getMessage(), \OCP\Util::ERROR); } }