TextRepresentation
public enum TextRepresentation
Specifies how a LogSeverity
value should be represented in text.
-
Specifies that the
LogSeverity
should be output as a human-readable word with the initial capitalization.Declaration
Swift
case capitalized
-
Specifies that the
LogSeverity
should be output as a human-readable word in all lowercase characters.Declaration
Swift
case lowercase
-
Specifies that the
LogSeverity
should be output as a human-readable word in all uppercase characters.Declaration
Swift
case uppercase
-
Specifies that the
rawValue
of theLogSeverity
should be output as an integer within a string.Declaration
Swift
case numeric
-
Specifies that the
rawValue
of theLogSeverity
should be output as an emoji character whose color represents the level of severity. The specific characters used to represent each severity level may change over time, so this representation is not suitable for parsing.Declaration
Swift
case colorCoded