MTLoggable

public protocol MTLoggable : Sendable

Protocol requirement for all Logger objects.

  • log(_:type:) Asynchronous

    Logs the message with type.

    Declaration

    Swift

    func log(_ message: String, type: MTLogType) async