Module lager_mongo_backend

Behaviours: gen_event.

Function Index

code_change/3
handle_call/2
handle_event/2
handle_info/2
init/1
terminate/2

Function Details

code_change/3

code_change(OldVsn::any(), State::#state{level = {mask, non_neg_integer()}, host = string(), port = pos_integer(), database = atom() | binary(), collection = atom() | binary(), connection = pid(), formatter = module()}, Extra::any()) -> {ok, #state{level = {mask, non_neg_integer()}, host = string(), port = pos_integer(), database = atom() | binary(), collection = atom() | binary(), connection = pid(), formatter = module()}}

handle_call/2

handle_call(Request::any(), State::#state{level = {mask, non_neg_integer()}, host = string(), port = pos_integer(), database = atom() | binary(), collection = atom() | binary(), connection = pid(), formatter = module()}) -> {ok, any(), #state{level = {mask, non_neg_integer()}, host = string(), port = pos_integer(), database = atom() | binary(), collection = atom() | binary(), connection = pid(), formatter = module()}}

handle_event/2

handle_event(Event, State) -> any()

handle_info/2

handle_info(X1::any(), State::#state{level = {mask, non_neg_integer()}, host = string(), port = pos_integer(), database = atom() | binary(), collection = atom() | binary(), connection = pid(), formatter = module()}) -> {ok, #state{level = {mask, non_neg_integer()}, host = string(), port = pos_integer(), database = atom() | binary(), collection = atom() | binary(), connection = pid(), formatter = module()}}

init/1

init(Params::proplists:proplist()) -> {ok, #state{level = {mask, non_neg_integer()}, host = string(), port = pos_integer(), database = atom() | binary(), collection = atom() | binary(), connection = pid(), formatter = module()}} | {error, atom()}

terminate/2

terminate(Reason::any(), State::#state{level = {mask, non_neg_integer()}, host = string(), port = pos_integer(), database = atom() | binary(), collection = atom() | binary(), connection = pid(), formatter = module()}) -> {ok, list()}


Generated by EDoc