Function trace_num

Source
pub fn trace_num(msg: &str, number: i64) -> Result<i32>
Expand description

Write the contents of a message, and a number, to the xrpld trace log.

§Parameters

  • msg: A str ref pointing to an array of bytes containing UTF-8 characters.
  • number: A number to emit into the trace logs.

§Returns

Returns an integer representing the result of the operation. A value of 0 or higher signifies the number of message bytes that were written to the trace function. Non-zero values indicate an error (e.g., incorrect buffer sizes).