+44 0330 223 3428
Call Us
+44 0330 223 3428

WPTavern: Inpsyde Open Sources Wonolog, a Monolog-based Logging Package for WordPress

WPTavern: Inpsyde Open Sources Wonolog, a Monolog-based Logging Package for WordPress

Inpsyde, a WordPress agency and WordPress.com VIP partner based in Germany, has open sourced Wonolog, a package that integrates Monolog for sophisticated WordPress data logging. Monolog is the most widely used PHP logging library with more than 57 million downloads to date.

Wonolog automatically creates logs that target specific WordPress requests and can be customized with action and filter hooks. Here are a few examples of WordPress data it can log:

  • Log any failed logins
  • Keep track of all WordPress cron requests
  • Intercept the WordPress-specific exit function, wp_die(), and log any (direct or indirect) usage
  • PHP core notices, warnings and (fatal) errors, uncaught exceptions (as well as PHP 7+ Throwable)
  • WordPress core errors such as database errors, HTTP API errors, wp_mail() errors, and 404 errors

Wonolog is available as a Composer package and its creators recommend installing at the website level. Inpsyde has been using it successfully in production with different projects for several months. Wonolog requires PHP 5.6 or higher and WordPress 4.6+. A documentation site is available to help new users get started and the project can be found on GitHub.



Source: WordPress

Related Post
Matt: On React and WordPress

Matt: On React and WordPress Big companies like to bury unpleasant news on Fridays: A few weeks ago, Facebook announced they have decided to dig in on their patent clause addition to the React license, even after Apache had said it’s no longer allowed for Apache.org projects. In their words, removing the patent clause would […]

Read more
WPTavern: First WordCamp Dublin Set for October 14-15

WPTavern: First WordCamp Dublin Set for October 14-15 photo credit: Ireland.com Following up on the success of WordCamp Belfast last October, the WordPress community in Dublin will be hosting its first WordCamp October 14-15. Both camps began the early stages of planning last year and the two communities have shared some of the same organizers […]

Read more
WPTavern: GitHub Partners with Facebook to Release Atom-IDE

WPTavern: GitHub Partners with Facebook to Release Atom-IDE GitHub announced the launch of Atom-IDE this week, a new set of packages that extend its open source JavaScript-powered code editor to include IDE-like functionality. This first release includes packages that support TypeScript, Flow, JavaScript, Java, C#, and PHP. “The start of this journey includes smarter context-aware […]

Read more

Leave a Reply

Your email address will not be published.