Add log method to worker wrapper.