StandardErrorLogRecorder
open class StandardErrorLogRecorder: OutputStreamLogRecorder
The StandardErrorLogRecorder
is an OutputStreamLogRecorder
that writes
log messages to the standard error stream (`stderr`
) of the running
process.
-
Initializes a
StandardErrorLogRecorder
instance to use the specifiedLogFormatter
s for formatting log messages.Declaration
Swift
public init(formatters: [LogFormatter], queue: DispatchQueue? = nil)
Parameters
queue
The
DispatchQueue
to use for the recorder. Ifnil
, a new queue will be created.