c

tofu.logging.impl

SingletonLoggable

class SingletonLoggable[A] extends DictLoggable[A]

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

Instance Constructors

  1. new SingletonLoggable(name: String, that: Loggable[A])

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 fields[I, V, R, M](a: A, input: I)(implicit receiver: LogRenderer[I, V, R, M]): 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
    SingletonLoggableBase
  13. def filter(p: (A) => Boolean): Loggable[A]

    log this value whenever predicate holds

    log this value whenever predicate holds

    Definition Classes
    Loggable
  14. 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
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. 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
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. 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
  20. def logShow(a: A): String

    display value in log message

    display value in log message

    a

    value for logging

    returns

    displayed form

    Definition Classes
    SingletonLoggableBase
  21. 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
  22. def loggedValue(a: A): LoggedValue

    Convert value to LoggedValue

    Convert value to LoggedValue

    a

    value for logging

    returns

    new Logged Value

    Definition Classes
    Base
  23. 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
  24. def narrow[B <: A]: Loggable[B]
    Definition Classes
    LoggableBase
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. def shortName: String
    Definition Classes
    Base
  34. def showInstance: Show[A]
    Definition Classes
    LoggableBase
  35. 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
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. def typeName: String
    Definition Classes
    Base
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  41. 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 DictLoggable[A]

Inherited from Loggable[A]

Inherited from Base[A]

Inherited from AnyRef

Inherited from Any

Ungrouped