Receiver

io.bullet.borer.Logging.Receiver
final class Receiver(target: Receiver, createLogger: LevelInfo => Logger) extends Receiver, LevelInfo

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

Attributes

Graph
Supertypes
trait LevelInfo
class Receiver
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

The type of the current item.

The type of the current item.

Attributes

def level: Int

The zero-based nesting level of the current item.

The zero-based nesting level of the current item.

Attributes

def levelCount: Long

The one-based index number of the current item within the current level.

The one-based index number of the current item within the current level.

Attributes

def levelSize: Long

The number of total items on the current level. -1 if the current level is unbounded.

The number of total items on the current level. -1 if the current level is unbounded.

Attributes

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

Attributes

Inherited from:
LevelInfo