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
XcodeTraceLogFormatterinstance.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
entryThe
LogEntryto attempt to convert into a string.Return Value
A
Stringrepresentation ofentry, ornilif the receiver could not format theLogEntry.
View on GitHub
XcodeTraceLogFormatter Class Reference