uselog_rs

uselog_rs can help you to use log for output log in test mode and no test mode with one line code like uselog!(info, debug)