raygun v0.4.0 Raygun.Logger View Source

This provides a backend for Logger that will send any messages logged at :error to Raygun.

Link to this section Summary

Functions

Our module doesn't require any custom configuration, so just return the state.

Match any errors that are logged. Send them on to Raygun.

Callback implementation for :gen_event.handle_info/2.

Callback implementation for :gen_event.init/1.

Callback implementation for :gen_event.terminate/2.

Link to this section Functions

Link to this function

code_change(old, state, extra)

View Source

Callback implementation for :gen_event.code_change/3.

Our module doesn't require any custom configuration, so just return the state.

Link to this function

handle_event(arg1, state)

View Source

Match any errors that are logged. Send them on to Raygun.

Callback implementation for :gen_event.handle_info/2.

Callback implementation for :gen_event.init/1.

Link to this function

terminate(reason, state)

View Source

Callback implementation for :gen_event.terminate/2.