ConsoleOut

sbt.internal.util.ConsoleOut$
See theConsoleOut companion trait
object ConsoleOut

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def bufferedWriterOut(out: BufferedWriter): ConsoleOut
def overwriteContaining(s: String): (String, String) => Boolean
def printStreamOut(out: PrintStream): ConsoleOut
def printWriterOut(out: PrintWriter): ConsoleOut

Same as terminalOut but it catches and ignores the ClosedChannelException

Same as terminalOut but it catches and ignores the ClosedChannelException

Attributes

def systemOutOverwrite(f: (String, String) => Boolean): ConsoleOut

ConsoleOut instance that is backed by System.out. It overwrites the previously printed line if the function f(lineToWrite, previousLine) returns true.

ConsoleOut instance that is backed by System.out. It overwrites the previously printed line if the function f(lineToWrite, previousLine) returns true.

The ConsoleOut returned by this method assumes that the only newlines are from println calls and not in the String arguments.

Attributes