org.llm4s.trace.TracingMode
See theTracingMode companion trait
object TracingMode
Attributes
- Companion
- trait
- Graph
-
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TracingMode.type
Members list
Type members
Classlikes
case object Console extends TracingMode
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait TracingModetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
Console.type
case object Langfuse extends TracingMode
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait TracingModetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
Langfuse.type
case object NoOp extends TracingMode
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait TracingModetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
NoOp.type
case object OpenTelemetry extends TracingMode
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait TracingModetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
- Self type
-
OpenTelemetry.type
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Parses a mode string into a TracingMode, case-insensitively.
Parses a mode string into a TracingMode, case-insensitively.
Accepts "langfuse", "console", "print", "opentelemetry", "otel", "noop", and "none". Any other value logs a warning and returns NoOp rather than throwing.
Value parameters
- mode
-
mode string, typically the value of the
TRACING_MODEenvironment variable
Attributes
- Returns
-
the matching
TracingMode, orNoOpfor unrecognised values
In this article