Receiver

final class Receiver(target: Receiver, createLogger: LevelInfo => Logger) extends Receiver with LevelInfo

A Receiver which forwards all incoming data item to another Receiver and, on the side, feeds a custom Logger with logging events.

trait LevelInfo
class Receiver
class Object
trait Matchable
class Any

Value members

Concrete methods

def level: Int
def levelCount: Long
def levelSize: Long
def onArrayHeader(length: Long): Unit
def onArrayStart(): Unit
def onBoolean(value: Boolean): Unit
def onBreak(): Unit
def onBytes[Bytes : ByteAccess](value: Bytes): Unit
def onBytesStart(): Unit
def onChars(buffer: Array[Char], length: Int): Unit
def onDouble(value: Double): Unit
def onEndOfInput(): Unit
def onFloat(value: Float): Unit
def onFloat16(value: Float): Unit
def onInt(value: Int): Unit
def onLong(value: Long): Unit
def onMapHeader(length: Long): Unit
def onMapStart(): Unit
def onNull(): Unit
def onNumberString(value: String): Unit
def onOverLong(negative: Boolean, value: Long): Unit
def onSimpleValue(value: Int): Unit
def onString(value: String): Unit
def onTag(value: Tag): Unit
def onText[Bytes : ByteAccess](value: Bytes): Unit
def onTextStart(): Unit
def onUndefined(): Unit

Inherited methods

final def isUnbounded: Boolean
Inherited from:
LevelInfo