View Source Exbox.Logging.LogHandler (Exbox v0.3.6)

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> Exbox.Logging.LogHandler.handle_event([:phoenix, :endpoint, :stop], measurements, metadata, config)
:ok