Skip to content
This repository has been archived by the owner on Aug 13, 2021. It is now read-only.

Commit

Permalink
Correct import
Browse files Browse the repository at this point in the history
  • Loading branch information
remmelt committed Nov 25, 2020
1 parent c2f78fb commit dbe4421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OneLogger.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit dbe4421

Please sign in to comment.