View Source LogflareLogger.HttpBackend (Logflare Logger Backend v0.11.4)

Implements :gen_event behaviour, handles incoming Logger messages

Link to this section Summary

Link to this section Types

@type level() :: Logger.level()
@type log_msg() :: {level(), pid(), {Logger, message(), term(), metadata()}} | :flush
@type message() :: Logger.message()
@type metadata() :: Logger.metadata()

Link to this section Functions

Link to this function

code_change(old_vsn, config, extra)

View Source

Callback implementation for :gen_event.code_change/3.

Link to this function

configure_merge(options, config)

View Source
@spec configure_merge(
  keyword(),
  LogflareLogger.BackendConfig.t()
) :: LogflareLogger.BackendConfig.t()
Link to this function

handle_call(arg, config)

View Source
@spec handle_call(
  {:configure, keyword()},
  LogflareLogger.BackendConfig.t()
) :: {:ok, :ok, LogflareLogger.BackendConfig.t()}

Callback implementation for :gen_event.handle_call/2.

Link to this function

handle_event(arg1, config)

View Source
@spec handle_event(log_msg(), LogflareLogger.BackendConfig.t()) ::
  {:ok, LogflareLogger.BackendConfig.t()}

Callback implementation for :gen_event.handle_event/2.

Link to this function

handle_info(arg1, config)

View Source

Callback implementation for :gen_event.handle_info/2.

Link to this function

init(_MODULE__, options \\ [])

View Source
@spec init(LogflareLogger.HttpBackend, keyword()) ::
  {:ok, LogflareLogger.BackendConfig.t()}
Link to this function

terminate(reason, state)

View Source

Callback implementation for :gen_event.terminate/2.