Created a JobCallback that allows logging and state updates.