filename() = string()
trace_level() = max | min | integer()
trace_type() = io | filename() | port() | {function(), any()}
disable/0 | stop tracing. |
enable/2 | start 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/1 | change the trace level when tracing has already started. |
disable() -> ok
stop tracing
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 within Limit) will be written to stdout using io:format.
report_event(Severity, Label, Service, Content) -> any()
set_level(Level::trace_level()) -> ok | {error, term()}
change the trace level when tracing has already started.