cardiff: Adding do_print to manage print levels
cardiff: Adding do_print to manage print levels

cardiff is using many print messages to inform user about 3 categories :
INFO / WARNING / ERROR.

Let's make a function where all those types are defined. We can also
control what message we want to see via print_level.

enovance/edeploy,redhat-cip/edeploy,lebauce/edeploy,lebauce/edeploy,enovance/edeploy,redhat-cip/edeploy,enovance/edeploy,lebauce/edeploy,enovance/edeploy,lebauce/edeploy,redhat-cip/edeploy,redhat-cip/edeploy