Enums

The following enums are available globally.

  • Used to indicate the severity, or importance, of a log message.

    Severity is a continuum, from .verbose being least severe to .error being most severe.

    The logging system may be configured so that messages lower than a given severity are ignored.

    See more

    Declaration

    Swift

    public enum LogSeverity: Int
  • Specifies the manner in which an OSLogType is selected to represent a given LogEntry.

    When a log entry is being recorded by an OSLogRecorder, an OSLogType value is used to specify the importance of the message; it is similar in concept to the LogSeverity.

    Because there is not an exact one-to-one mapping between OSLogType and LogSeverity values, OSLogTypeTranslation provides a mechanism for deriving the appropriate OSLogType for a given LogEntry.

    See more

    Declaration

    Swift

    public enum OSLogTypeTranslator
  • Allows the specification of different field delimiters.

    See more

    Declaration

    Swift

    public enum DelimiterStyle