diff options
Diffstat (limited to 'lib/private/Preview/SVG.php')
-rw-r--r-- | lib/private/Preview/SVG.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/private/Preview/SVG.php b/lib/private/Preview/SVG.php index e0abf04d931..e283175c2e2 100644 --- a/lib/private/Preview/SVG.php +++ b/lib/private/Preview/SVG.php @@ -24,6 +24,8 @@ */ namespace OC\Preview; +use OCP\ILogger; + class SVG extends Provider { /** * {@inheritDoc} @@ -54,7 +56,7 @@ class SVG extends Provider { $svg->setImageFormat('png32'); } catch (\Exception $e) { \OC::$server->getLogger()->logException($e, [ - 'level' => \OCP\Util::ERROR, + 'level' => ILogger::ERROR, 'app' => 'core', ]); return false; |