CallSiteLogFormatter
public struct CallSiteLogFormatter: LogFormatter
A LogFormatter
that returns a string representation of the LogEntry
‘s
call site, consisting of the last path component of the callingFilePath
followed by the callingFileLine
within that file.
This is typically combined with other LogFormatter
s within a
ConcatenatingLogFormatter
.
-
The initializer.
Declaration
Swift
public init()