General-Purpose Logging Area

While developing an addon, I realised there’s currently no suitable place to log routine messages or interactions that don’t qualify as server errors.

I’d like to see this improved by either:
  • Expanding the Server error log to support general-purpose logging (e.g. by categorising log types).
  • Introducing a dedicated general-purpose log that add-ons can easily write to.
This would save developers from needing to build their own logging systems for simple cases.
 
Upvote 2
I built an addon for exactly this purpose - allows you to create a Monolog log for development purposes, but can also run in production.

Note that by default this will simply create a text-based log file in the internal_data directory - but Monolog can be configured to send information to a bunch of other external systems for more comprehensive log support.


I use this with a few of my own addons.
 
I built an addon for exactly this purpose - allows you to create a Monolog log for development purposes, but can also run in production.

Note that by default this will simply create a text-based log file in the internal_data directory - but Monolog can be configured to send information to a bunch of other external systems for more comprehensive log support.


I use this with a few of my own addons.
That's handy to know thank you, I thought it was weird no one had made anything for this yet.
 
Back
Top Bottom