t

tofu.logging

DictLoggable

trait DictLoggable[A] extends Loggable[A]

specialized Loggable for multi-field objects

Linear Supertypes
Loggable[A], Base[A], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DictLoggable
  2. Loggable
  3. Base
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def fields[I, V, R, S](a: A, i: I)(implicit r: LogRenderer[I, V, R, S]): R

    write all fields of current value in the current object - context

    write all fields of current value in the current object - context

    Definition Classes
    Base
  2. abstract def logShow(a: A): String

    display value in log message

    display value in log message

    a

    value for logging

    returns

    displayed form

    Definition Classes
    Base

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(that: Base[A]): Loggable[A]

    combine two loggables: put fields of both, choose value of first that suits

    combine two loggables: put fields of both, choose value of first that suits

    Definition Classes
    Loggable
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. def combinedValue[I, V, R, M, A1 <: A](a: A1, v: V, that: Base[A1])(implicit r: LogRenderer[I, V, R, M]): M

    generate the combined value of that loggable and the other at the given position

    generate the combined value of that loggable and the other at the given position

    Definition Classes
    DictLoggableBase
  8. def contraCollect[B](f: PartialFunction[B, A]): Loggable[B]

    contravariant version of collect - log values of type B when they could be converted to A

    contravariant version of collect - log values of type B when they could be converted to A

    Definition Classes
    LoggableBase
  9. def contramap[B](f: (B) => A): Loggable[B]

    transform input value befor logging

    transform input value befor logging

    Definition Classes
    Base
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def filter(p: (A) => Boolean): Loggable[A]

    log this value whenever predicate holds

    log this value whenever predicate holds

    Definition Classes
    Loggable
  13. def filterC[B <: A](p: (B) => Boolean): Base[B]

    same as Loggable.fitler but contravariance-friendly version

    same as Loggable.fitler but contravariance-friendly version

    Definition Classes
    LoggableBase
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. def hide: Loggable[A]

    same as this loggable, but do not show any info in the message string

    same as this loggable, but do not show any info in the message string

    Definition Classes
    LoggableBase
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def logAnnotation(name: String): LogAnnotation[A]

    Creates a new LogAnnotation using this Loggable with provided name

    Creates a new LogAnnotation using this Loggable with provided name

    Definition Classes
    Loggable
  19. def logVia(a: A, addParam: (String, Any) => Unit): Unit

    add list of custom fields for value

    add list of custom fields for value

    a

    value for logging

    addParam

    side-effectful function, adding custom field to log entry

    Definition Classes
    Base
  20. def loggedValue(a: A): LoggedValue

    Convert value to LoggedValue

    Convert value to LoggedValue

    a

    value for logging

    returns

    new Logged Value

    Definition Classes
    Base
  21. def named(name: String): Loggable[A]

    whenever fields are called it would be a single field named name and corresponding value

    whenever fields are called it would be a single field named name and corresponding value

    Definition Classes
    LoggableBase
  22. def narrow[B <: A]: Loggable[B]
    Definition Classes
    LoggableBase
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  26. def plus[B <: A](that: Base[B]): Base[B]

    same as Loggable.+ but contravariace-friendly version

    same as Loggable.+ but contravariace-friendly version

    Definition Classes
    LoggableBase
  27. def putField[I, V, R, M](a: A, name: String, input: I)(implicit r: LogRenderer[I, V, R, M]): R

    put single logging field value in the field with supplied name

    put single logging field value in the field with supplied name

    Definition Classes
    DictLoggableBase
  28. def putMaskedField[I, V, R, S](a: A, name: String, i: I)(f: (String) => String)(implicit r: LogRenderer[I, V, R, S]): R

    put single logging field value in the field with supplied name if it's convertible to string, hide it otherwise

    put single logging field value in the field with supplied name if it's convertible to string, hide it otherwise

    Definition Classes
    Base
  29. def putMaskedValue[I, V, R, S](a: A, v: V)(f: (String) => String)(implicit r: LogRenderer[I, V, R, S]): S

    put single logging field value if it's convertible to string, hide it otherwise

    put single logging field value if it's convertible to string, hide it otherwise

    Definition Classes
    Base
  30. def putValue[I, V, R, M](a: A, v: V)(implicit r: LogRenderer[I, V, R, M]): M

    put single logging field value

    put single logging field value

    Definition Classes
    DictLoggableBase
  31. def shortName: String
    Definition Classes
    Base
  32. def showInstance: Show[A]
    Definition Classes
    LoggableBase
  33. def singleton(name: String): Loggable[A]

    something that works as named on the toplevel but ensures, that field is always represented as a singleton dict inside other value

    something that works as named on the toplevel but ensures, that field is always represented as a singleton dict inside other value

    Definition Classes
    Loggable
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. def typeName: String
    Definition Classes
    Base
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Loggable[A]

Inherited from Base[A]

Inherited from AnyRef

Inherited from Any

Ungrouped