LlmCore.Telemetry.Logger (llm_core v0.3.0)

Copy Markdown View Source

Simple telemetry handler that logs llm_core pipeline events.

Summary

Functions

Attaches the telemetry handler for llm_core pipeline events.

Detaches the telemetry handler.

Functions

install(opts \\ [])

@spec install(keyword()) :: :ok | {:error, term()}

Attaches the telemetry handler for llm_core pipeline events.

Options

  • :events - list of event names to attach to (defaults to pipeline stop/exception)
  • :level - Logger level for emitted messages (default: :info)

uninstall()

@spec uninstall() :: :ok | {:error, :not_found}

Detaches the telemetry handler.