Log to console each transition change (useful to intercept a state before it change)