Logging in Lock for iOS v2
Lock provides options to easily turn on and off logging capabilities, as well as adjust other logging related settings.
By default this is
.off, Syslog logging levels are supported.
This option allows you to choose whether or not to log Auth0.swift API requests. By default this is
You can specify a logger output handler, by default this uses the
In the code above, the
loggerOutput has been set to use CleanroomLogger. This can typically be achieved by implementing the
loggerOutput protocol. You can of course use your favorite logger library. Below is an example of usage handling logger output with CleanroomLogger.