Added the log functions to the repo