Function trace

Source
pub fn trace(msg: &str) -> Result<i32>
Expand description

Write the contents of a message to the xrpld trace log.

§Parameters

  • msg: A str ref pointing to an array of bytes containing UTF-8 characters.

§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).