LoggingMessageWriter

PROTOCOL

LoggingMessageWriter

@objc public protocol LoggingMessageWriter

Protocol describing possible outputs for logging messages.

Methods

info(message:category:)

func info(message: String, category: LogCategory)

Outputs message with info level.

  • Parameters:
    • message: message that needs to be logged.
    • category: which category of the SDK is the logged message.

Parameters

Name Description
message message that needs to be logged.
category which category of the SDK is the logged message.

debug(message:category:)

func debug(message: String, category: LogCategory)

Outputs message with debug level.

  • Parameters:
    • message: message that needs to be logged.
    • category: which category of the SDK is the logged message.

Parameters

Name Description
message message that needs to be logged.
category which category of the SDK is the logged message.

error(message:category:)

func error(message: String, category: LogCategory)

Outputs message with error level.

  • Parameters:
    • message: message that needs to be logged.
    • category: which category of the SDK is the logged message.

Parameters

Name Description
message message that needs to be logged.
category which category of the SDK is the logged message.