# `Zexbox.Logging.LogHandler`
[🔗](https://github.com/Intellection/zexbox/blob/main/lib/zexbox/logging/log_handler.ex#L1)

Handles the default start and stop events for phoenix endpoints. This makes use of the
default [Logger](https://hexdocs.pm/logger/main/Logger.html) module and as such will obey the :logger configuration
specified in your app.

# `handle_event`

```elixir
@spec handle_event([atom()], map(), map(), map()) :: :ok
```

This function is called by the Phoenix endpoint when a controller action is started or finished.

## Examples

    iex> Zexbox.Logging.LogHandler.handle_event([:phoenix, :endpoint, :stop], measurements, metadata, config)
    :ok

---

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