Adding documentation to log_consumer so that we pass tests