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
log
Optional OSLog. Default:
OSLog(subsystem: "com.pingidentity.ios", category: "Standard")
-
Logs a debug message.
Declaration
Swift
public func d(_ message: String)
Parameters
message
The debug message to be logged.
-
Logs an informational message.
Declaration
Swift
public func i(_ message: String)
Parameters
message
The message to be logged.
-
Logs a warning message.
Declaration
Swift
public func w(_ message: String, error: Error?)
Parameters
message
The warning message to be logged.
error
Optional Error associated with the warning.
-
Logs an error message.
Declaration
Swift
public func e(_ message: String, error: Error?)
Parameters
message
The error message to be logged.
error
Optional Error associated with the warning.