info#
- MCEq.misc.info(min_dbg_level, *message, **kwargs)[source]#
Print to console if min_debug_level <= config.debug_level
The fuction determines automatically the name of caller and appends the message to it. Message can be a tuple of strings or objects which can be converted to string using str().
- Parameters:
min_dbg_level (int) – Minimum debug level in config for printing
message (tuple) – Any argument or list of arguments that casts to str
condition (bool) – Print only if condition is True
blank_caller (bool) – blank the caller name (for multiline output)
no_caller (bool) – don’t print the name of the caller
- Authors:
Anatoli Fedynitch (DESY) Jonas Heinze (DESY)