how to print logs when doing unit-testing in rust

// Use the printf function to print logs
printf("This is a log message");