Loggable
public protocol Loggable
A type that can log statements for debugging purposes.
-
Logger used to print log statements.
Declaration
Swift
var logger: Logger? { get set }
-
using(logger:
Extension method) Turn on Auth0.swift debug logging of HTTP requests and responses with a custom logger.
Note
By default all logging is disabled.Important
Logging should be turned on/off before making request to Auth0 for the flag to take effect.Declaration
Swift
func using(logger: Logger) -> Self
Parameters
logger
Logger used to print log statements.
-
logging(enabled:
Extension method) Turn on/off Auth0.swift debug logging of HTTP requests and responses.
Note
By default all logging is disabled.Important
For the flag to take effect, logging should be turned on/off before making requests to Auth0.Declaration
Swift
func logging(enabled: Bool) -> Self
Parameters
enabled
Flag to turn logging on/off.