TerminalColor
public enum TerminalColor : String
The set of colors used when logging with colorized lines.
-
Log text in white.
Declaration
Swift
case white = "\u{1B}[0;37m"
-
Log text in red, used for error messages.
Declaration
Swift
case red = "\u{1B}[0;31m"
-
Log text in yellow, used for warning messages.
Declaration
Swift
case yellow = "\u{1B}[0;33m"
-
Log text in the terminal’s default foreground color.
Declaration
Swift
case foreground = "\u{1B}[0;39m"
-
Log text in the terminal’s default background color.
Declaration
Swift
case background = "\u{1B}[0;49m"