StandardLogger
public class StandardLogger : Logger, @unchecked Sendable
Standard Logger to log to the iOS Console
-
Initializer for StandardLogger
Declaration
Swift
public init(log: OSLog? = nil)Parameters
logOptional OSLog. Default:
OSLog(subsystem: "com.pingidentity.ios", category: "Standard") -
Logs a debug message.
Declaration
Swift
public func d(_ message: String)Parameters
messageThe debug message to be logged.
-
Logs an informational message.
Declaration
Swift
public func i(_ message: String)Parameters
messageThe message to be logged.
-
Logs a warning message.
Declaration
Swift
public func w(_ message: String, error: Error?)Parameters
messageThe warning message to be logged.
errorOptional Error associated with the warning.
-
Logs an error message.
Declaration
Swift
public func e(_ message: String, error: Error?)Parameters
messageThe error message to be logged.
errorOptional Error associated with the warning.