Logger

PROTOCOL

# Logger

@objc public protocol Logger

Protocol describing possible outputs for logging messages.

# Methods

# 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.

# 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.

# warning(message:category:)

func warning(message: String, category: LogCategory)

Outputs message with warning 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.