Zexbox.Logging.LogHandler (Zexbox v1.6.0)

Copy Markdown View Source

Handles the default start and stop events for phoenix endpoints. This makes use of the default Logger module and as such will obey the :logger configuration specified in your app.

Summary

Functions

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

Functions

handle_event(list, measurements, metadata, config)

@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