org.llm4s.trace.Tracing
See theTracing companion trait
object Tracing
Factory for creating Tracing instances.
// From TracingSettings: falls back to NoOp, with an error logged, if the backend is missing
val tracing = Tracing.create(settings)
// The same, but a missing or failing backend is an error the caller sees
val checked: Result[Tracing] = Tracing.fromSettings(settings)
// Direct instantiation
val console = new ConsoleTracing()
val noop = new NoOpTracing()
Attributes
- See also
-
TracingMode for available modes
org.llm4s.trace.spi.TracingBackend for adding a backend
- Companion
- trait
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Tracing.type
Members list
In this article