LogHandler

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)

    Parameters

    category

    The category or component generating the log.

    message

    The log message content.

    level

    The severity level of the log message.