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

Commit

Permalink
Merge pull request #3 from fitchannel/namespace
Browse files Browse the repository at this point in the history
Correct namespace
  • Loading branch information
Brian Hanson authored Dec 3, 2020
2 parents 0e1520a + f2ddf87 commit 0333d7f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .craftplugin
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"pluginName":"onelogger","pluginDescription":"Logging Alternative for Craft CMS 3.x using STDOUT and STDERR","pluginVersion":"2.0.0","pluginAuthorName":"One Design Company","pluginVendorName":"onedesign","pluginAuthorUrl":"https://onedesigncompany.com","pluginAuthorGithub":"onedesign","codeComments":"","pluginComponents":"","consolecommandName":"","controllerName":"","cpsectionName":"","elementName":"","fieldName":"","modelName":"","purchasableName":"","recordName":"","serviceName":"","taskName":"","utilityName":"","widgetName":"","apiVersion":"api_version_3_0"}
{"pluginName":"onelogger","pluginDescription":"Logging Alternative for Craft CMS 3.x using STDOUT and STDERR","pluginVersion":"2.0.1","pluginAuthorName":"One Design Company","pluginVendorName":"onedesign","pluginAuthorUrl":"https://onedesigncompany.com","pluginAuthorGithub":"onedesign","codeComments":"","pluginComponents":"","consolecommandName":"","controllerName":"","cpsectionName":"","elementName":"","fieldName":"","modelName":"","purchasableName":"","recordName":"","serviceName":"","taskName":"","utilityName":"","widgetName":"","apiVersion":"api_version_3_0"}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "onedesign/onelogger",
"description": "Logging Alternative for Craft CMS 3.x using STDOUT and STDERR",
"type": "craft-plugin",
"version": "2.0.0",
"version": "2.0.1",
"keywords": [
"craft",
"cms",
Expand Down
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
2 changes: 1 addition & 1 deletion src/log/StreamTarget.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace onedesign\onelogger;
namespace onedesign\onelogger\log;

use yii\log\Logger;
use yii\log\Target;
Expand Down

0 comments on commit 0333d7f

Please sign in to comment.