XcodeTraceLogFormatter
public final class XcodeTraceLogFormatter: FieldBasedLogFormatter
A LogFormatter
that outputs Xcode-bound trace information for each
LogEntry
that has a Payload
of .trace
.
-
Initalizes a new
XcodeTraceLogFormatter
instance.Declaration
Swift
public init()
-
Called to create a string representation of the passed-in
LogEntry
.Declaration
Swift
open override func format(_ entry: LogEntry) -> String?
Parameters
entry
The
LogEntry
to attempt to convert into a string.Return Value
A
String
representation ofentry
, ornil
if the receiver could not format theLogEntry
.