Skip to main content

Module trace

Module trace 

Source

Enums§

TraceDataType
How the host should read the data buffer. Mirrors xrpld’s TraceDataType; the discriminants are wire values, numbered from 1 so a zeroed data_type hits the host’s invalid branch.

Functions§

trace
Write the contents of a message to the xrpld trace log.
trace_acct
trace_acct_buf
trace_amt
trace_float
Write a float to the xrpld trace log.
trace_hex
Write a message and a data buffer to the xrpld trace log, hex-encoded by the host.
trace_num
Write the contents of a message, and a number, to the xrpld trace log.
trace_num_unsigned
Write the contents of a message, and an unsigned number, to the xrpld trace log. Use this over trace_num for values above i64::MAX.
trace_text
Write a message and a data buffer to the xrpld trace log, printed verbatim as text.