LogHandler Protocol Reference
public protocol LogHandler : AnyObject
A protocol for handling log messages with different severity levels.
-
Logs a message with the specified category, message, and level.
Declaration
Swift
func log(category: String, message: String, level: LogLevel)Parameter Description categoryThe category or component generating the log.
messageThe log message content.
levelThe severity level of the log message.