View Source Zexbox.Logging.LogHandler (Zexbox v0.4.0)

All log events are handled by this module.

Summary

Functions

This function is called by the Phoenix endpoint when a controller action is started and finished. This allows us to use kibana for log inspection and monitoring

Functions

Link to this function

handle_event(list, measurements, metadata, config)

View Source
@spec handle_event([atom()], map(), map(), map()) :: :ok

This function is called by the Phoenix endpoint when a controller action is started and finished. This allows us to use kibana for log inspection and monitoring

Examples:

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