DiscordLogger

public protocol DiscordLogger

Declares that a type will act as a logger.

  • log(_:type:) Default implementation

    Normal log messages.

    Default Implementation

    Normal log messages.

    Declaration

    Swift

    func log( _ message: @autoclosure () -> String, type: String)
  • verbose(_:type:) Default implementation

    More info on log messages.

    Default Implementation

    More info on log messages.

    Declaration

    Swift

    func verbose(_ message: @autoclosure () -> String, type: String)
  • debug(_:type:) Default implementation

    Debug messages.

    Default Implementation

    Debug messages.

    Declaration

    Swift

    func debug(_ message: @autoclosure () -> String, type: String)
  • error(_:type:) Default implementation

    Error Messages.

    Default Implementation

    Error Messages.

    Declaration

    Swift

    func error(_ message: @autoclosure () -> String, type: String)