added mock logger and updated docs to show use