msg

simcado.utils.msg(cmds, message, level=3)[source]

Prints a message based on the level of verbosity given in cmds

Parameters
cmdsUserCommands

just for the SIM_VERBOSE and SIM_MESSAGE_LEVEL keywords

messagestr

message to be printed

levelint, optional

all messages with level <= SIM_MESSAGE_LEVEL are printed. I.e. level=5 messages are not important, level=1 are very important