My Digital Garden

MonoLog WordPress Seq Handler

Purpose

To allow other plugins or themes to log to an instance of Seq. Of primary interest to organisations or individuals that are already using Seq for log aggregation

Concept

Provide a WordPress plugin that exposes either a logging object or logging hook that other code (e.g. plugins and themes) can call.

Provide configuration of a Seq instance to receive logs via HTTP

Possible approach

  • base on Monolog
  • create a Monolog Formatter to create correct JSON
  • create a Monolog Handler to manage the connection to Seq API

References

See also

[[wordpress]] | [[opensource]] | [[seq]] | [[logging]] | [[PHP ]]

#ideas

Referred in


Copyright

Unless otherwise noted all content on this site is (c) copyright Julian Elve 2020 onwards, released under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International licence.

MonoLog WordPress Seq Handler