Logging

You can set up logging for the library using the WDOLogger class.

Networking traffic is logged in its own logger described in the networking library documentation.

Verbosity Level

You can limit the amount of logged information via the WDOLogger.logLevel property.

WDOLogger.logLevel = WDOLogLevel.DEBUG
Level Description
NONE Silences all messages.
ERROR Only errors will be logged.
WARN Errors and warnings will be logged.
INFO (default) Error, warning and info messages will be logged.
DEBUG All messages will be logged.

Logger Delegate

In case you want to process logs on your own (for example log into a file or some cloud service), you can set WDOLogger.listener.

Last updated on Oct 29, 2026 (14:37) Edit on Github Send Feedback

4.0.x

Digital Onboarding for JS