#How can I check if Debug logs have been enabled?

1 messages · Page 1 of 1 (latest)

pine salmon
#

We currently don't have a separate method to verify if debug logs are enabled. Could you please specify your need for checking before invoking the printDebug function?

#

If you need to compute the log values, you can pass the value as function pointer. This will only execute when the debug log is enabled.