carputils
Doxygen code documentation for the python framework controlling openCARP
Namespaces | Functions | Variables
PEERP_logger.py File Reference

Namespaces

 carputils.model.PEERP_logger
 

Functions

def carputils.model.PEERP_logger.set_log_file (str path)
 Updates te file handler with a new path. More...
 

Variables

 carputils.model.PEERP_logger.logger = logging.getLogger("PEERP")
 
 carputils.model.PEERP_logger.ch = logging.StreamHandler(sys.stdout)
 
 carputils.model.PEERP_logger.file_handler = RotatingFileHandler("app.log", backupCount=3, delay=True)
 
 carputils.model.PEERP_logger.formatter = logging.Formatter("%(asctime)s [%(levelname)s] %(name)s: %(message)s")