Module eflambe_tracer

This module defines a tracer process implemented as a gen_server.

Behaviours: gen_server.

Description

This module defines a tracer process implemented as a gen_server. This gen_server is only intended to be used by the eflambe_server to receive trace messages and write them to the appropriate formatter module.

Data Types

from()

from() = {pid(), Tag::term()}

state()

state() = #state{impl = atom(), impl_state = any(), options = eflambe:options(), filename = file:filename_all()}

tracer_options()

tracer_options() = [eflambe:option() | {pid, pid()}]

Function Index

finish/1
handle_call/3
handle_cast/2
handle_continue/2
handle_info/2
init/1
start_link/1 Starts the tracer.

Function Details

finish/1

finish(Pid) -> any()

handle_call/3

handle_call(Request::any(), From::from(), State::state()) -> {reply, Reply::any(), state()} | {reply, Reply::any(), state(), {continue, finish}}

handle_cast/2

handle_cast(Msg::any(), State::state()) -> {noreply, state()}

handle_continue/2

handle_continue(X1, State) -> any()

handle_info/2

handle_info(Info::any(), State::state()) -> {noreply, state()} | {noreply, state(), timeout()} | {stop, Reason::any(), state()}

init/1

init(Args::[tracer_options()]) -> {ok, state()}

start_link/1

start_link(Options::tracer_options()) -> {ok, pid()} | ignore | {error, Error::any()}

Starts the tracer


Generated by EDoc