PCSDKModule Documentation Beta

Protocol PCLogger​Protocol

public protocol PCLoggerProtocol

The logger protocol

Requirements

debug(_:​category:​)

func debug(_ message: String, category: PCLoggingCategory)

Common messages

Parameters

message String

The message

category PCLogging​Category

The category

error(_:​category:​)

func error(_ message: String, category: PCLoggingCategory)

Errors

Parameters

message String

The message

category PCLogging​Category

The category

sensitive(_:​category:​)

func sensitive(_ message: String, category: PCLoggingCategory)

Sensitive information. E.g. keys, requests with user's personal info.

Parameters

message String

The message

category PCLogging​Category

The category