Module syslog_monitor

A server responsible for event handler registrations.

Behaviours: gen_server.

See also: syslog_error_h.

Description

A server responsible for event handler registrations. The server will attach and re-attach event handlers at requested event managers monitoring their registration. This has the nice side-effect that as soon as this server gets shutdown the registered event handlers will be removed automatically.

Function Index

start_link/0 Start a monitor server which in turn will attach the syslog_error_h event handler at the appropriate event manager (error_logger).

Function Details

start_link/0

start_link() -> {ok, pid()} | {error, term()}

Start a monitor server which in turn will attach the syslog_error_h event handler at the appropriate event manager (error_logger).


Generated by EDoc