From 059f51f70da8b6dacf9f88890f05ff9ef9091835 Mon Sep 17 00:00:00 2001 From: Brandon Rodriguez <brodriguez8774@gmail.com> Date: Sat, 16 Nov 2019 01:24:15 -0500 Subject: [PATCH] Update some comments --- resources/logging.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/logging.py b/resources/logging.py index e0b2ac5..0eca7b3 100644 --- a/resources/logging.py +++ b/resources/logging.py @@ -14,7 +14,7 @@ Note: Standard log priority is "NOTSET" > "DEBUG" > "INFO" > "WARNING" > "ERROR" import logging.config, os -# Statements to help library determine how to run logging. +# Variables to help library determine how to run logging. graph_library_logger = True first_logging_call = True @@ -26,7 +26,7 @@ def get_logger(caller): :param caller: __name__ attribute of caller. :return: Instance of logger, associated with caller's __name__. """ - # Initialize logger. We should only have to initialize it once per project. + # Initialize logger. We should only have to initialize it once per runtime. if first_logging_call: _initialize_logger_settings() @@ -66,8 +66,8 @@ def _initialize_logger_settings(debug=False): def _create_logging_dict(log_directory): """ Creates dictionary-styled logging options. - :param log_directory: Directory to use for saving logs. - :return: Dictionary of logging options. + :param log_directory: Directory to use for logging initialization. + :return: Dictionary of logging options/settings. """ # Dictionary style logging options. return { -- GitLab