Adds log method to send events to redis.