Line | Count | Source |
1 | // | |
2 | // StandardError.swift | |
3 | // | |
4 | // Created by Jason Milkins on 23/8/23. | |
5 | // | |
6 | ||
7 | import Foundation | |
8 | ||
9 | public struct StandardErrorOutputStream: TextOutputStream { | |
10 | 52 | public mutating func write(_ string: String) { fputs(string, stderr) } |
11 | } | |
12 | ||
13 | public var errStream = StandardErrorOutputStream() |