From dbe44213513d133009ef1ebd69628716c7c47655 Mon Sep 17 00:00:00 2001 From: Remmelt Pit Date: Wed, 25 Nov 2020 21:53:05 +0100 Subject: [PATCH] Correct import --- src/OneLogger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OneLogger.php b/src/OneLogger.php index e5e409c..2e1f1b4 100644 --- a/src/OneLogger.php +++ b/src/OneLogger.php @@ -56,7 +56,7 @@ public function init() self::$plugin = $this; // Creates a stream target that writes to php://stderr - $streamTarget = new \onedesign\onelogger\StreamTarget(); + $streamTarget = new \onedesign\onelogger\log\StreamTarget(); $streamTarget->setLevels($this->settings->logLevels); Craft::getLogger()->dispatcher->targets[] = $streamTarget;