LogLevel

public struct LogLevel : RawRepresentable, Equatable, Hashable, Sendable

日志级别定义

  • Declaration

    Swift

    public typealias RawValue = UInt
  • off

    关闭日志

    Declaration

    Swift

    public static let off: LogLevel
  • 错误以上级别

    Declaration

    Swift

    public static let error: LogLevel
  • 警告以上级别

    Declaration

    Swift

    public static let warn: LogLevel
  • 信息以上级别

    Declaration

    Swift

    public static let info: LogLevel
  • 调试以上级别

    Declaration

    Swift

    public static let debug: LogLevel
  • 详细以上级别

    Declaration

    Swift

    public static let verbose: LogLevel
  • all

    所有级别

    Declaration

    Swift

    public static let all: LogLevel
  • Declaration

    Swift

    public var rawValue: UInt
  • Declaration

    Swift

    public init(rawValue: UInt)
  • Undocumented

    Declaration

    Swift

    public init(_ rawValue: UInt)