ToStringLogger

class ToStringLogger(val info: LevelInfo, val stringBuilder: StringBuilder, val maxShownByteArrayPrefixLen: Int, val maxShownStringPrefixLen: Int, val maxShownArrayElems: Int, val maxShownMapEntries: Int, val initialGutterWidth: Int, val renderLevelCount: Boolean, val renderEndOfInput: Boolean, val renderCommas: Boolean, val indentation: String, val mapKeySep: String, val lineSep: String, val mapValueOnNewLine: Boolean) extends LineFormatLogger

A LineFormatLogger that appends all lines to a given JStringBuilder.

trait Logger
class Object
trait Matchable
class Any

Value members

Concrete methods

override def appendIndent(sb: StringBuilder, level: Int): StringBuilder
Definition Classes
override def appendLevelCount(sb: StringBuilder, count: Long, size: Long): StringBuilder
Definition Classes
def renderLine(line: String): Unit

Inherited methods

def appendChar(sb: StringBuilder, char: Char): StringBuilder
Inherited from:
LineFormatLogger
def formatBytes[Bytes](opener: String, value: Bytes)(implicit ba: ByteAccess[Bytes]): String
Inherited from:
LineFormatLogger
def formatOverLong(negative: Boolean, value: Long): String
Inherited from:
LineFormatLogger
def formatString(value: String): String
Inherited from:
LineFormatLogger
def formatString[Bytes](value: Bytes)(implicit ba: ByteAccess[Bytes]): String
Inherited from:
LineFormatLogger
def onArrayHeader(length: Long): Unit
Inherited from:
LineFormatLogger
def onArrayStart(): Unit
Inherited from:
LineFormatLogger
def onBool(value: Boolean): Unit
Inherited from:
LineFormatLogger
def onBytes[Bytes : ByteAccess](value: Bytes): Unit
Inherited from:
LineFormatLogger
def onBytesStart(): Unit
Inherited from:
LineFormatLogger
def onChars(buffer: Array[Char], length: Int): Unit
Inherited from:
LineFormatLogger
def onDecimal(integer: Long, fraction: Int): Unit
Inherited from:
LineFormatLogger
def onDouble(value: Double): Unit
Inherited from:
LineFormatLogger
def onEndOfInput(): Unit
Inherited from:
LineFormatLogger
def onFloat(value: Float): Unit
Inherited from:
LineFormatLogger
def onFloat16(value: Float): Unit
Inherited from:
LineFormatLogger
def onInt(value: Int): Unit
Inherited from:
LineFormatLogger
def onLevelExited(levelType: ElementType, break: Boolean): Unit
Inherited from:
LineFormatLogger
def onLong(value: Long): Unit
Inherited from:
LineFormatLogger
def onMapHeader(length: Long): Unit
Inherited from:
LineFormatLogger
def onMapStart(): Unit
Inherited from:
LineFormatLogger
def onNull(): Unit
Inherited from:
LineFormatLogger
def onNumberString(value: String): Unit
Inherited from:
LineFormatLogger
def onOverLong(negative: Boolean, value: Long): Unit
Inherited from:
LineFormatLogger
def onSimpleValue(value: Int): Unit
Inherited from:
LineFormatLogger
def onString(value: String): Unit
Inherited from:
LineFormatLogger
def onTag(value: Tag): Unit
Inherited from:
LineFormatLogger
def onText[Bytes : ByteAccess](value: Bytes): Unit
Inherited from:
LineFormatLogger
def onTextStart(): Unit
Inherited from:
LineFormatLogger
def onUndefined(): Unit
Inherited from:
LineFormatLogger
def render(item: String, levelOpen: Boolean, levelClose: Boolean): Unit
Inherited from:
LineFormatLogger

Concrete fields

val indentation: String
val lineSep: String
val mapKeySep: String
val mapValueOnNewLine: Boolean
val renderCommas: Boolean
val renderEndOfInput: Boolean
val renderLevelCount: Boolean
val stringBuilder: StringBuilder

Inherited fields

protected var gutterWidth: Int
Inherited from:
LineFormatLogger