PepperDashCore
PepperDashCore copied to clipboard
[FEATURE]-Add default (override-able) timer for debug level > 0
Is your feature request related to a problem? Please describe. Currently, setting the app debug level to > 0 is persistent. This can cause extra overhead on the processor CPU if the program is constantly printing messages to console when a developer forgets to turn debug level back to 0
Describe the solution you'd like
Add a timer (default to something like 60 min) whenever the debug level is changed that resets the debug level to 0 on expiry.
In Essentials, we'll have to update the appdebug console command to take an optional parameter for the number of minutes to override the default