diff --git a/resources/logging.py b/resources/logging.py index e0b2ac5cc3acea01ac3851357c228964a8f13e23..0eca7b323012c86a1ed4a3a877ef94a27b98ad47 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 {