cwitools.utils.output

cwitools.utils.output(str_in, log=None, silent=None)

Generic output handler for internal use in CWITools.

Parameters:
  • str (str) – The string to output.
  • log (str) – The log file to write to, if any
  • silent (bool) – Set to True to suppress standard output and only write to log file.
Returns:

None