Logging
The library is intensively logging into the console via WDOLogger
.
Possible log levels:
DEBUG
- Debug logging that outputs more granular data, use this only during developmentINFO
- prints info logs + logs for warning level produced by the library (default level)WARNING
- prints warnings and errorsERROR
- prints errors onlyOFF
- logging is turned off
You can set the log level by WDOLogger.verboseLevel = WDOLogger.VerboseLevel.OFF
.
WDOLogger
calls internally the android.util.Log
class.
Log Listener
The WDOLogger
class offers a static logListener
property. If you provide a listener, all logs will also be passed to it (the library always logs into the Android default log).
Log listener comes in handy when you want to log into a file or some online service.
Last updated on May 09, 2024 (14:07)
Edit on Github
Send Feedback