DelimiterLogFormatter
public struct DelimiterLogFormatter: LogFormatter
A LogFormatter
used to output field separator strings.
This is typically combined with other LogFormatter
s within a
ConcatenatingLogFormatter
.
-
The
DelimiterStyle
that determines the return value of the receiver’sformat(_:)
function.Declaration
Swift
public let style: DelimiterStyle
-
Initializes a new
DelimiterLogFormatter
instance using the givenDelimiterStyle
.Declaration
Swift
public init(style: DelimiterStyle = .spacedPipe)