# `Snakepit.Telemetry.Handlers.Logger`
[🔗](https://github.com/nshkrdotcom/snakepit/blob/v0.13.0/lib/snakepit/telemetry/handlers/logger.ex#L1)

Telemetry handler that logs ML-related events.

> #### Legacy Optional Module {: .warning}
>
> `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.

# `attach`

```elixir
@spec attach() :: :ok
```

Attaches the logger handler to all ML events.

# `detach`

```elixir
@spec detach() :: :ok
```

Detaches the logger handler.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
