Logging
The library is intensively logging into the console via WMTLogger
.
WMTLogger
calls internally the android.util.Log
class.
Verbosity Level
You can limit the amount of logged information via the verboseLevel
static property.
Level | Description |
---|---|
OFF |
Silences all messages. |
ERROR |
Only errors will be printed to the console. |
WARNING (default) |
Errors and warnings will be printed to the console. |
DEBUG |
All messages will be printed to the console. |
Networking Logs
Networking logs are managed by the networking library and it’s logger
Log Listener
The WMTLogger
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 17, 2024 (08:33)
Edit on Github
Send Feedback