Package

com.ccadllc.cedi.dtrace

logging

Permalink

package logging

Visibility
  1. Public
  2. All

Type Members

  1. class LogEmitter[F[_]] extends Emitter[F]

    Permalink

    This instance of the TraceSystem.Emitter provides the means to record a Span to an slf4j log appender in both text and JSON formats, also logging the associated system properties provided in the passed-in TraceContext[F].

    This instance of the TraceSystem.Emitter provides the means to record a Span to an slf4j log appender in both text and JSON formats, also logging the associated system properties provided in the passed-in TraceContext[F]. The recording is described in the context of an effectful program F with an Sync[F] instance in implicit scope and actual occurs when that program is executed. Whether the information is recorded to log files, some other location, or not at all depends on the configuration of the distributed-trace.txt and distributed-trace.json loggers. Note that the logging occurs only if DEBUG is enabled for the particular logger in the underlying logging configuration.

Value Members

  1. object LogEmitter

    Permalink

    Companion object for the LogEmitter instance, providing a convenience constructor.

  2. object json

    Permalink

    Provides the encoding of a Span - and associated TraceSystem[F] metadata - to JSON using the io.circe framework.

Ungrouped