AirshipLogHandler

public protocol AirshipLogHandler : Sendable

Protocol used by Airship to log all log messages within the SDK. A custom log handlers should be set on AirshipConfig.logHandler.

  • Called to log a message.

    Declaration

    Swift

    func log(
        logLevel: AirshipLogLevel,
        message: String,
        fileID: String,
        line: UInt,
        function: String
    )

    Parameters

    logLevel

    The Airship log level.

    message

    The log message.

    fileID

    The file ID.

    line

    The line number.

    function

    The function.