To clean up calls to console message, consider creating class logger with:
verbosity as a class variable
methods for printing the different severity messages
a parameter for messages which specifies either a file or stdout
a parameter for decimal precision of timestamp logging
logger.{info,warn,erro}(destination,prec,message)
To clean up calls to console message, consider creating parameter for messages which specifies either a file or stdout
a parameter for decimal precision of timestamp logging
class logger
with: verbosity as a class variable methods for printing the different severity messages alogger.{info,warn,erro}(destination,prec,message)