Module hackney_trace

Data Types

filename()

filename() = string()

trace_level()

trace_level() = max | min | integer()

trace_type()

trace_type() = io | filename() | port() | {function(), any()}

Function Index

disable/0stop tracing.
enable/2start tracing start tracing at level Level and send the result either to the file File, the port Port or to a trace handler.
report_event/4
set_level/1change the trace level when tracing has already started.

Function Details

disable/0

disable() -> ok

stop tracing

enable/2

enable(Level::trace_level(), File::trace_type()) -> ok

start tracing start tracing at level Level and send the result either to the file File, the port Port or to a trace handler.

Note: that it starts a tracer server. When Destination is the atom io (or the tuple {io, Verbosity}), %% all (printable) inets trace events (trace_ts events which has %% Severity withing Limit) will be written to stdout using io:format.

report_event/4

report_event(Severity, Label, Service, Content) -> any()

set_level/1

set_level(Level::trace_level()) -> ok

change the trace level when tracing has already started.


Generated by EDoc, Nov 3 2015, 13:54:23.