TraceableValue

natchez.TraceableValue
See theTraceableValue companion object

A lawless typeclass responsible for converting a value of the type parameter A to Natchez's TraceValue.

You may want to use this to customize the formatting of a value before attaching it to a span, or to support adding tracing as a cross-cutting concern using aspect-oriented programming from a library such as cats-tagless.

Attributes

A

The type to be converted to TraceValue

Companion:
object
Source:
TraceValue.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Abstract methods

Attributes

Source:
TraceValue.scala

Concrete methods

final def contramap[B](f: B => A): TraceableValue[B]

Attributes

Source:
TraceValue.scala