Skip to content
Chase Lau edited this page Jan 29, 2023 · 2 revisions

Here I'm going to try to make sense of log levels and set expectations for which levels are to be called in the code:

Error

Should only be called when something has caused enough of an issue to prevent the plugin from continuing normal execution

Warn

Something has happened which causes behavior not expected by the user

Info

Information useful for those of us who want to know what's happening with our setup

Debug

Information which would be considered spam unless you're trying to debug something

Clone this wiki locally