sjstein / tpMonitor

Python monitor script to connect to tpServer
0 stars 0 forks source link

Create logger class #32

Closed sjstein closed 4 years ago

sjstein commented 4 years ago

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)

sjstein commented 4 years ago

This can use the console_message function as a class function