class ContramapLoggable[A, B] extends Loggable[B]
- Alphabetic
- By Inheritance
- ContramapLoggable
- Loggable
- Base
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(that: Base[B]): Loggable[B]
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
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def combinedValue[I, V, R, M, A1 <: B](a: A1, values: V, that: Base[A1])(implicit render: 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
- Base
- def contraCollect[B](f: PartialFunction[B, B]): Loggable[B]
contravariant version of
collect
- log values of typeB
when they could be converted toA
- def contramap[C](g: (C) => B): Loggable[C]
transform input value befor logging
transform input value befor logging
- Definition Classes
- ContramapLoggable → Base
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val f: (B) => A
- def fields[I, V, R, M](b: B, 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
- ContramapLoggable → Base
- def filter(p: (B) => Boolean): Loggable[B]
log this value whenever predicate holds
log this value whenever predicate holds
- Definition Classes
- Loggable
- def filterC[B <: B](p: (B) => Boolean): Base[B]
same as
Loggable.fitler
but contravariance-friendly version - final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hide: Loggable[B]
same as this loggable, but do not show any info in the message string
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logAnnotation(name: String): LogAnnotation[B]
Creates a new
LogAnnotation
using thisLoggable
with provided nameCreates a new
LogAnnotation
using thisLoggable
with provided name- Definition Classes
- Loggable
- def logShow(a: B): String
display value in log message
display value in log message
- a
value for logging
- returns
displayed form
- Definition Classes
- ContramapLoggable → Base
- def logVia(a: B, 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
- ContramapLoggable → Base
- def loggedValue(a: B): LoggedValue
Convert value to LoggedValue
- def named(name: String): Loggable[B]
whenever fields are called it would be a single field named
name
and corresponding value - def narrow[B <: B]: Loggable[B]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def plus[B <: B](that: Base[B]): Base[B]
same as
Loggable.+
but contravariace-friendly version - def putField[I, V, R, M](a: B, name: String, input: I)(implicit receiver: 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
- ContramapLoggable → Base
- def putMaskedField[I, V, R, S](a: B, 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
- def putMaskedValue[I, V, R, S](a: B, 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
- def putValue[I, V, R, M](a: B, v: V)(implicit r: LogRenderer[I, V, R, M]): M
put single logging field value
put single logging field value
- Definition Classes
- ContramapLoggable → Base
- val self: Base[A]
- def shortName: String
- Definition Classes
- Base
- def showInstance: Show[B]
- def singleton(name: String): Loggable[B]
something that works as named on the toplevel but ensures, that field is always represented as a singleton dict inside other value
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def typeName: String
- Definition Classes
- Base
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated