Module lama_syslog_h

This module implements a syslog event handler for error_logger.

Version: $Rev: 464 $ $LastChangedDate: 2006-02-02 20:59:48 -0500 (Thu, 02 Feb 2006) $ `` Example message as seen in the syslog file: Mar 19 21:26:44 10.231.12.2 n@spider:test[0.45.0]: [ALERT] Test msg '''

Behaviours: gen_event.

Authors: Serge Aleynikov (serge@hq.idt.net).

Description

This module implements a syslog event handler for error_logger.

Function Index

get_def_options/0Gets default module's options.
handle_call/2
handle_event/2
handle_info/2
init/1
is_string/1
log/4
start_link/1
stop/0Remore alarm handler.
test/0

Function Details

get_def_options/0

get_def_options() -> TypedOptions::typed_options()

Gets default module's options.

handle_call/2

handle_call(Request, State) -> term()

handle_event/2

handle_event(Msg, State) -> term()

handle_info/2

handle_info(Info, State) -> term()

init/1

init(Options) -> term()

is_string/1

is_string(T) -> term()

log/4

log(Priority, Format, Msg, Optional) -> term()

start_link/1

start_link(Options) -> term()

stop/0

stop() -> ok | {error, Reason}

Remore alarm handler.

test/0

test() -> term()