Author Topic: Log Debug Level / Console Output Customization  (Read 176 times)

I'm finding that for complex plugins, I'm often doing the following to debug scope and async issues...

I configure plugins with both a debugMode and stackTrace which print various values and function calls to the console for debugging. I'd love to be able to configure verbosity levels and set additional colors in the output console. I could subclass the logger now, and add my own levels that rely on some global value, but I can't seem to set the color of the particular line or substring in the console output.. or can I?

Ideally, I'd want to colorize things differently: signal emissions, method calls, etc

Sorry, this is not possible with the current logger.
Last Edit: February 12, 2019, 04:38:19 pm