rotifer.core.functions.vmsg#
- rotifer.core.functions.vmsg(message='')[source]#
Output a message to stderr.
Three options available: 1-) Input a string 2-) Input a list with one element 3-) Input a list with n elements
If a list with more than one element is passed, the first element will be printed with timelog the other lines will be printed in a new line. ———– INPUT: message: A message in the format, str or list. ———– OUTPUT: A message in the format for option (1) and (2) ## [DAY/MONTH Hour:Minute:Second] <message> or
A message in the format for option (3) ## [DAY/MONTH Hour:Minute:Second] <message> ### <message> ### … ———– Example: import rotifer.core.functions as cf
- if verbose:
cd.msg(‘Small test’)
>> ## [12/03/18 09:50:54] Small test