Initializer
init(_:formattingOptions:baseURL:highlight:)
Creates a new instance of this class with the provided output stream.
convenience init(_ stream: any TextOutputStream = LogHandle.standardError, formattingOptions options: DiagnosticFormattingOptions = [], baseURL: URL? = nil, highlight: Bool? = nil)
Parameters
streamThe output stream to which this instance will write.
optionsThe formatting options for the diagnostics.
baseURLA url to be used as a base url when formatting diagnostic source path.
highlightWhether or not to highlight the default diagnostic formatting output.