PrimaExLogger (prima_ex_logger v0.2.1) View Source

Custom logger to send json over stdout

Link to this section Summary

Link to this section Functions

Link to this function

code_change(old_vsn, state, extra)

View Source

Callback implementation for :gen_event.code_change/3.

Callback implementation for :gen_event.handle_call/2.

Link to this function

handle_event(event, state)

View Source

Callback implementation for :gen_event.handle_event/2.

Callback implementation for :gen_event.handle_info/2.

Specs

init({PrimaExLogger, atom()}) ::
  {:error, any()} | {:ok, any()} | {:ok, any(), :hibernate}

Callback implementation for :gen_event.init/1.

Link to this function

terminate(reason, state)

View Source

Callback implementation for :gen_event.terminate/2.

Link to this function

to_printable(v, custom_serializers)

View Source

Specs

to_printable(any(), list()) :: any()