Types
This can be the name of a binary log, a list of such logs, or the name of a directory containing one or more binary logs.
File descriptor of the destination file
Out
. The trace message. For details, see the Reference Manual for module
erlang
. Includes the keys
flags
,
client
, and
node
. If
handler
is specified as option to the tracer function, this is also included. Also, all information written with function
write_trace_info/2
is included.
Reads the specified binary trace log(s). The logs are processed in the order of their time stamps as long as option disable_sort
is not specified.
If FormatHandler = {Function,InitialState}
, Function
is called for each trace message.
If FormatHandler = get_et_handler()
, et_viewer
in application ET is used for presenting the trace log graphically. ttb
provides a few different filters that can be selected from menu Filters and scaling in the et_viewer
.
If FormatHandler
is not specified, a default handler is used presenting each trace message as a text line.
The state returned from each call of Function
is passed to the next call, even if the next call is to format a message from another log file.
If Out
is specified, FormatHandler
gets the file descriptor to Out
as the first parameter.
Out
is ignored if the et
format handler is used.
Wrap logs can be formatted one by one or all at once. To format one of the wrap logs in a set, specify the exact file name. To format the whole set of wrap logs, specify the name with *
instead of the wrap count. For examples, see the User's Guide
.