Enums
The following enums are available globally.
-
Specifies the manner in which
See moreLogSeverityvalues should be rendered by theSeverityLogFormatter.Declaration
Swift
public enum SeverityStyle
-
Used to indicate the severity, or importance, of a log message.
Severity is a continuum, from
.verbosebeing least severe to.errorbeing most severe.The logging system may be configured so that messages lower than a given severity are ignored.
See moreDeclaration
Swift
public enum LogSeverity: Int
-
Governs how a
See moreCallingThreadLogFormatterwill represent aLogEntry‘scallingThreadID.Declaration
Swift
public enum CallingThreadStyle
-
Encapsulates the various formatting styles that can be used by the
See moreTimestampLogFormatter.Declaration
Swift
public enum TimestampStyle
-
Specifies the manner in which an
OSLogTypeis selected to represent a givenLogEntry.When a log entry is being recorded by an
OSLogRecorder, anOSLogTypevalue is used to specify the importance of the message; it is similar in concept to theLogSeverity.Because there is not an exact one-to-one mapping between
See moreOSLogTypeandLogSeverityvalues,OSLogTypeTranslationprovides a mechanism for deriving the appropriateOSLogTypefor a givenLogEntry.Declaration
Swift
public enum OSLogTypeTranslator
-
Allows the specification of different field delimiters.
See moreDeclaration
Swift
public enum DelimiterStyle
View on GitHub
Enums Reference