Skip to content
Snippets Groups Projects
Verified Commit c059dba7 authored by Bartek Jaskulski's avatar Bartek Jaskulski
Browse files

feat: deprecate `WPDeskLoggerFactory`


Mentioned logger uses a shared log file across each library client,
which results in centralized log, impossible to split and with tendency
to grow multiple gigabytes in end users' environments.

Instead, prefer `SimpleLoggerFactory`, making use of WooCommerce logger,
which by default features file per channel, log rotation and important
security checks.

Signed-off-by: default avatarBart Jaskulski <bjaskulski@protonmail.com>
parent 5e4b45a3
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,8 @@ use WPDesk\Logger\WP\WPCapture;
/**
* Manages and facilitates creation of logger
*
* @deprecated 1.13.0 Creates shared log file, which is discouraged. Prefer using {@see SimpleLoggerFactory}.
*
* @package WPDesk\Logger
*/
class WPDeskLoggerFactory extends BasicLoggerFactory
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment