Logger

PROTOCOL

# Logger

Protocol describing possible outputs for logging messages.

# Methods

# debug(message:category:)

Outputs message with debug level.

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

# info(message:category:)

Outputs message with info level.

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

# warning(message:category:)

Outputs message with warning level.

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

# error(message:category:)

Outputs message with error level.

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