BufferedPrinterLogger

org.specs2.reporter.BufferedPrinterLogger

This line logger tries to respect line breaks in the original text.

So if the original text is: Hello world\nHow are you? and we call infoLog("Hello world\n"); infoLog("How are you?")

Then there will be only 2 lines displayed and not 3 (2 for the first infoLog, 1 for the second one)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Type members

Classlikes

enum Log

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Value members

Abstract methods

protected def errorLine(msg: String): Unit
protected def failureLine(msg: String): Unit
protected def infoLine(msg: String): Unit
protected def warnLine(msg: String): Unit

Concrete methods

def close(): Unit
def errorLog(msg: String): Unit
def failureLog(msg: String): Unit
def infoLog(msg: String): Unit
def newline(): Unit
def warnLog(msg: String): Unit