diff --git a/composer.json b/composer.json index b42155f..7f6827b 100644 --- a/composer.json +++ b/composer.json @@ -19,8 +19,7 @@ "wpackagist-plugin/two-factor": "~0.9.1" }, "require-dev": { - "dekode/coding-standards": "6.0.0", - "dekode/logging": "1.0.0" + "dekode/coding-standards": "6.0.0" }, "repositories": { "mu-plugins": { diff --git a/composer.lock b/composer.lock index d6961ea..2d9cfc8 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b6a9673b3d1301e12192eb6c53989a12", + "content-hash": "602edbd84400d3edb07aad560414974f", "packages": [ { "name": "boxuk/wp-muplugin-loader", @@ -1234,30 +1234,6 @@ }, "time": "2023-08-29T05:36:30+00:00" }, - { - "name": "dekode/logging", - "version": "1.0.0", - "dist": { - "type": "path", - "url": "packages/mu-plugins/logging", - "reference": "2c177e4f5055e69fd12f684587f94372e5a1bf5b" - }, - "type": "wordpress-muplugin", - "license": [ - "GPL-3.0-or-later" - ], - "authors": [ - { - "name": "Dekode Interaktiv", - "homepage": "https://dekode.no" - } - ], - "description": "Utility function for logging arbitrary variables to the error log.", - "transport-options": { - "symlink": true, - "relative": true - } - }, { "name": "phpcompatibility/php-compatibility", "version": "9.3.5", diff --git a/packages/mu-plugins/logging/README.md b/packages/mu-plugins/logging/README.md deleted file mode 100644 index a1b75cd..0000000 --- a/packages/mu-plugins/logging/README.md +++ /dev/null @@ -1,9 +0,0 @@ -# Logging - -Utility function `write_log` for logging arbitrary variables to the error log. You can view the log in realtime in your terminal by executing `tail -f debug.log` and Ctrl+C to stop. - -## Requirements - -Enable logging in Wordpress by setting these constants -* `define( 'WP_DEBUG', true )` -* `define( 'WP_DEBUG_LOG', true )` diff --git a/packages/mu-plugins/logging/composer.json b/packages/mu-plugins/logging/composer.json deleted file mode 100644 index ec3317e..0000000 --- a/packages/mu-plugins/logging/composer.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "dekode/logging", - "description": "Utility function for logging arbitrary variables to the error log.", - "version": "1.0.0", - "type": "wordpress-muplugin", - "license": "GPL-3.0-or-later", - "authors": [ - { - "name": "Dekode Interaktiv", - "homepage": "https://dekode.no" - } - ] -} diff --git a/packages/mu-plugins/logging/plugin.php b/packages/mu-plugins/logging/plugin.php deleted file mode 100644 index f19b33c..0000000 --- a/packages/mu-plugins/logging/plugin.php +++ /dev/null @@ -1,38 +0,0 @@ -