EyrLogger

public struct EyrLogger

Pretty logger to the debug console

  • Undocumented

    Declaration

    Swift

    public static var prefix: String = "CNL"
  • Undocumented

    See more

    Declaration

    Swift

    public struct Message
  • Undocumented

    Declaration

    Swift

    public static var level: EyrLogLevel = .debug
  • Log message to console with specified level

    Declaration

    Swift

    public static func log(_ message: CustomStringConvertible, level: EyrLogLevel)

    Parameters

    message

    Message to log

    level

    Log level

  • Log messages to console with specified level

    Declaration

    Swift

    public static func log(_ messages: [CustomStringConvertible], level: EyrLogLevel, separator: String? = nil)

    Parameters

    messages

    Array of messages to log

    level

    Log level

    separator

    Optional separator string