Snakepit.Telemetry.Handlers.Logger (Snakepit v0.13.0)

Copy Markdown View Source

Telemetry handler that logs ML-related events.

Legacy Optional Module

Snakepit does not call this module internally. It remains available for compatibility and may be removed in v0.16.0 or later.

Prefer host-application telemetry handlers tailored to deployment needs.

Provides structured logging for hardware detection, circuit breaker state changes, GPU profiling, and error events.

Summary

Functions

Attaches the logger handler to all ML events.

Detaches the logger handler.

Functions

attach()

@spec attach() :: :ok

Attaches the logger handler to all ML events.

detach()

@spec detach() :: :ok

Detaches the logger handler.