Module lager_backend_throttle

A simple gen_event backend used to monitor mailbox size and switch log messages between synchronous and asynchronous modes.

Behaviours: gen_event.

Description

A simple gen_event backend used to monitor mailbox size and switch log messages between synchronous and asynchronous modes. A gen_event handler is used because a process getting its own mailbox size doesn't involve getting a lock, and gen_event handlers run in their parent's process.

Function Index

handle_call/2
handle_event/2
handle_info/2
init/1

Function Details

handle_call/2

handle_call(Request, State) -> any()

handle_event/2

handle_event(Event, State) -> any()

handle_info/2

handle_info(Info, State) -> any()

init/1

init(X1) -> any()


Generated by EDoc