Supporting Types

Miscellaneous types that support various functionality of TraceLog.

  • LogLevels represent the logging level defined by TraceLog. These parallel the environment variables that can be set to configure TraceLog.

    See more

    Declaration

    Swift

    public enum LogLevel : Int, CaseIterable, Comparable
  • Static context captured at the time of the log statement

    See more

    Declaration

    Swift

    public protocol StaticContext
  • Runtime context captured at the time of the log statement

    See more

    Declaration

    Swift

    public protocol RuntimeContext