1.0.0-rc.2
Pre-release
Pre-release
Changed:
Breaking changes:
The function enableLogging()
was removed, so now to enable logging in the library you should enable it per-client instead of globally.
For Auth API
var auth = Auth0.authentication()
auth.logging(enabled: true)
For Users API
var users = Auth0.users(token: "token")
users.logging(enabled: true)
Also now you can provide a custom Logger to replace the default one (which just uses Swift print
). It only needs to implement the protocol Logger
let logger = MyCustomLogger()
var auth = Auth0.authentication()
auth.usingLogger(logger)