snews_pt.core.logging ===================== .. py:module:: snews_pt.core.logging .. autoapi-nested-parse:: Modified version of Geoffrey Letner's python 201 logger. Ref: https://python-tutorial.dev/201/tutorial/logging.html Attributes ---------- .. autoapisummary:: snews_pt.core.logging.HOST snews_pt.core.logging.log_date snews_pt.core.logging.log_dir snews_pt.core.logging.log_file snews_pt.core.logging.fh snews_pt.core.logging.formatter snews_pt.core.logging.logger snews_pt.core.logging.levels Functions --------- .. autoapisummary:: snews_pt.core.logging.initialize_logging Module Contents --------------- .. py:data:: HOST .. py:data:: log_date .. py:data:: log_dir .. py:data:: log_file .. py:data:: fh .. py:data:: formatter .. py:data:: logger .. py:data:: levels .. py:function:: initialize_logging(level) Initialize top-level logger with the file handler and a `level`.