#[logfn_inputs]
Expand description
Logs the inputs of the function
ยงExamples
#[logfn_inputs(INFO, fmt = "Good morning: {:?}, to: {:?}")]
fn good_morning(msg: &str, addr: SocketAddr) -> Result<(), io::Error> {
let mut stream = TcpStream::connect(addr)?;
stream.write(msg.as_bytes())?;
Ok( () )
}