FileHandle

extension FileHandle: TextOutputStream
  • Declaration

    Swift

    public func write(_ string: String)
  • The standard output

    This alias can be used as a print target.

    Declaration

    Swift

    public static var stdout: FileHandle { get set }
  • The standard error output

    This alias can be used as a print target.

    Declaration

    Swift

    public static var stderr: FileHandle { get set }