Write

class Write(val file: String, val append: Boolean = false) : Redirect

Write stdout or stderr to file.

Parameters

file

name of output file

append

true to keep existing file contents

Constructors

Link copied to clipboard
constructor(file: String, append: Boolean = false)

Properties

Link copied to clipboard
val append: Boolean = false
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String