pub fn trace(msg: &[u8], data: &[u8], data_repr: DataRepr) -> Result<u64>
Write the contents of a buffer to the XRPLD trace log