Implemented a Logger for all output