From ff2f51290d468ee241bd8ce0901c7c240a427fc7 Mon Sep 17 00:00:00 2001 From: Remmelt Pit Date: Wed, 25 Nov 2020 21:09:35 +0100 Subject: [PATCH 1/6] Correct namespace --- src/log/StreamTarget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log/StreamTarget.php b/src/log/StreamTarget.php index 268b829..c16e278 100644 --- a/src/log/StreamTarget.php +++ b/src/log/StreamTarget.php @@ -1,5 +1,5 @@ Date: Wed, 25 Nov 2020 21:16:59 +0100 Subject: [PATCH 2/6] Update .craftplugin --- .craftplugin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.craftplugin b/.craftplugin index 28dfd15..0c6eb6e 100644 --- a/.craftplugin +++ b/.craftplugin @@ -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"} From 7d3ebe6023c500e37df0f7582eaa6865ca97a739 Mon Sep 17 00:00:00 2001 From: Remmelt Pit Date: Wed, 25 Nov 2020 21:17:32 +0100 Subject: [PATCH 3/6] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 21a4f51..e0d2f70 100644 --- a/composer.json +++ b/composer.json @@ -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", From c2f78fb12ce306dfcb75749ee20b79351d3a10e5 Mon Sep 17 00:00:00 2001 From: Remmelt Pit Date: Wed, 25 Nov 2020 21:19:19 +0100 Subject: [PATCH 4/6] More version updates --- src/OneLogger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OneLogger.php b/src/OneLogger.php index 1cd44d2..e5e409c 100644 --- a/src/OneLogger.php +++ b/src/OneLogger.php @@ -42,7 +42,7 @@ class OneLogger extends Plugin /** * @var string */ - public $schemaVersion = '2.0.0'; + public $schemaVersion = '2.0.1'; // Public Methods // ========================================================================= From dbe44213513d133009ef1ebd69628716c7c47655 Mon Sep 17 00:00:00 2001 From: Remmelt Pit Date: Wed, 25 Nov 2020 21:53:05 +0100 Subject: [PATCH 5/6] 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; From f2ddf878c64adead6aa5abf9758e2893436a5278 Mon Sep 17 00:00:00 2001 From: Remmelt Pit Date: Wed, 2 Dec 2020 18:43:22 +0100 Subject: [PATCH 6/6] Update OneLogger.php --- src/OneLogger.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OneLogger.php b/src/OneLogger.php index 2e1f1b4..012d2f5 100644 --- a/src/OneLogger.php +++ b/src/OneLogger.php @@ -42,7 +42,7 @@ class OneLogger extends Plugin /** * @var string */ - public $schemaVersion = '2.0.1'; + public $schemaVersion = '2.0.0'; // Public Methods // =========================================================================