Logging APIs

Not available in Objective-C.

These types are used for logging.


Topics

struct LogMessage

A log message generated by the library for the client to include in their logs. These messages are intended to be human-readable although the audience is primarily app developers; these are not intended for end users.

Declaration
Swift
public struct LogMessage: CustomStringConvertible

enum LogLevel

The category of message being logged, in descending order of importance. Clients should normally be interested in recording error and warning and may also be interested in info.

Declaration
Swift
public enum LogLevel: String