{"repo":"BrianHenryIE/bh-wp-logger","free":true,"listed":false,"github":"https://github.com/BrianHenryIE/bh-wp-logger","clone":"git clone https://github.com/BrianHenryIE/bh-wp-logger.git","description":"Zero-config log UI for WordPress plugins","language":"PHP","stars":19,"topics":["psr-3","wordpress","psr"],"license":"GPL-2.0","category":"self-hosted-apps","readme_excerpt":"BH WP Logger Zero-config logger UI for WordPress plugins. Wraps existing PSR-3 loggers and adds some UI. Monolog WC Logger PSR-3 NullLogger Uses Monolog by default, WC Logger when specified, NullLogger when log level is set to \"none\". Uses PHP's set error handler() to catch PHP deprecated/warning/notice/errors. Hook into WordPress's deprecated function hooks ( deprecated function run etc.) to log those only once per day. Uses PHP's register shutdown function() to catch Exceptions related to the plugin. Deletes log files older than 30 days on cron. Records a full backtrace on errors. Records two steps of backtrace on every log when the level is Debug. UI Displays logs in WP List Table . Shows a dismissible admin error notice each time there is a new error. Adds a link to the logs view on the plugin's entry on plugins.php. When log messages contain wp user:123 (NB: surrounded by single backticks) it will be replaced with a link to the user profile. This allows for logging useful references to users without logging their PII. Similarly, any post type can be linked with post type name:123 , e.g. shop order:123 will link to the WooCommerce order. Use Composer Expect breaking changes with every release until v1.0.0. Instantiate You should use brianhenryie/strauss to prefix the library's namespace. Then Strauss's autoloader will include the files for you. The following will work, but it will be faster and more reliable to provide the settings: Provide the settings: Then pass around ","default_branch":null,"files":null,"tree":[],"storefront":"/r/BrianHenryIE","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BrianHenryIE/bh-wp-logger/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}