Instance Propertyconsole-kit 4.15.2ConsoleKitTerminal->Logging
style
Converts log level to console style
var style: ConsoleStyle { get }
Converts log level to console style
var style: ConsoleStyle { get }
s7Logging6LoggerV5LevelO18ConsoleKitTerminalE5styleAF0D5StyleVvp
What are these?91IYL
import Logging
A Logging API for Swift.
import ConsoleKitTerminal
ConsoleKitTerminal
provides utilities for interacting with a console in a Swift application. It provides:
enum Level
The log level.
struct Logger
A Logger
is the central type in SwiftLog
. Its central function is to emit log messages using one of the methods corresponding to a log level.
struct ConsoleStyle
Representation of a style for outputting to a Console in different colors with differing attributes. A few suggested default styles are provided.
var name: String { get }