Implemented logger functions

Work needs to be done, it is not yet complete.