Index
Simplify your molecular simulation workflow.
simlify.LOG_FORMAT = '<green>{time:HH:mm:ss}</green> | <level>{level: <8}</level> | <cyan>{name}</cyan>:<cyan>{function}</cyan>:<cyan>{line}</cyan> - <level>{message}</level>'
module-attribute
¶
simlify.level = int(os.environ.get('SIMLIFY_LOG_LEVEL', 20))
module-attribute
¶
simlify.log_file_path = os.environ.get('SIMLIFY_LOG_FILE_PATH', None)
module-attribute
¶
simlify.stdout = literal_eval(os.environ.get('SIMLIFY_STDOUT', 'True'))
module-attribute
¶
simlify.enable_logging(level_set, stdout_set=True, file_path=None)
¶
Enable logging.
PARAMETER | DESCRIPTION |
---|---|
level |
Requested log level:
|
file_path |
Also write logs to files here.
TYPE:
|