Module ep_file_log

Writes monitoring events to file.

Copyright © (C) 2019, Maxim Fedorov

Behaviours: gen_server.

Authors: Maxim Fedorov (maximfca@gmail.com).

Description

Writes monitoring events to file.

Function Index

handle_call/3
handle_cast/2
handle_info/2
init/1
start/1 Starts the server with a different name and/or file.
start_link/1 Starts the server.
stop/1 Stops the server, if started stand-alone.
terminate/2

Function Details

handle_call/3

handle_call(Request, From, State) -> any()

handle_cast/2

handle_cast(Request, State) -> any()

handle_info/2

handle_info(Monitor_sample, State) -> any()

init/1

init(X1) -> any()

start/1

start(Target::file:filename() | file:io_device()) -> {ok, Pid::pid()} | {error, Reason::term()}

Starts the server with a different name and/or file. Server is started outside of supervision tree.

start_link/1

start_link(Filename::string() | file:io_device()) -> {ok, Pid::pid()} | ignore | {error, Reason::term()}

Starts the server

stop/1

stop(Pid::pid()) -> ok

Stops the server, if started stand-alone. If it was started as a part of supervision tree, server will restart.

terminate/2

terminate(Reason, State) -> any()


Generated by EDoc