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 specified LogFormatters for formatting log messages.

    Declaration

    Swift

    public init(formatters: [LogFormatter], queue: DispatchQueue? = nil)

    Parameters

    queue

    The DispatchQueue to use for the recorder. If nil, a new queue will be created.