You can set up logging for the library using the WMTLogger
class.
Networking traffic is logged in its own logger described in the networking library documentation.
You can limit the amount of logged information via the verboseLevel
property.
Level | Description |
---|---|
off |
Silences all messages. |
errors |
Only errors will be logged. |
warnings (default) |
Errors and warnings will be logged. |
info |
Error, warning and info messages will be logged. |
debug |
All messages will be logged. |
In case you want to process logs on your own (for example log into a file or some cloud service), you can set WMTLogger.delegate
.