The wrapping of the log_it function has been added, a test has also been added for the fact that it works