Reduce logging of state machine

This commit is contained in:
Florian Schlegel 2019-03-21 15:36:31 +01:00
parent 0ba998d46c
commit b8855a3eda

View File

@ -2,7 +2,6 @@ package state
import (
"errors"
"log"
"time"
"github.com/foomo/shop/utils"
@ -115,7 +114,7 @@ func (sm *StateMachine) transitionToState(currentState *State, targetState strin
return err
}
*currentState = *state
log.Println("StateMachine - New current State: ", currentState.Key)
//log.Println("StateMachine - New current State: ", currentState.Key)
return nil
}
}