in src/main/scala/com/gu/ssm/UI.scala [89:101]
def printAll(output: Seq[Output]): Unit = print(output: _*)
def print(output: Output*): Unit = {
output.foreach {
case Out(text, true) => System.out.println(text)
case Out(text, false) => System.out.print(text)
case Metadata(text) => printMetadata(text)
case Err(text, maybeThrowable) =>
printErr(text)
maybeThrowable.foreach { t => printVerbose(t.getAsString) }
case Verbose(text) => printVerbose(text)
}
}