diff --git a/docs/changelog.rst b/docs/changelog.rst index 3ef799c..cfc1ee2 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,16 @@ Changelog ========= +Version 1.5.4 +------------- + +Release date: 2023-12-28 + +Fixed +^^^^^ +- Removed the logs of unnecessary function calls. + + Version 1.5.3 ------------- diff --git a/setup.cfg b/setup.cfg index 71f65d6..cb44c6c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = pysolorie -version = 1.5.3 +version = 1.5.4 description = Orientation Analysis of Solar Panel long_description = file: README.md long_description_content_type = text/markdown diff --git a/src/pysolorie/logger.py b/src/pysolorie/logger.py index 76e8f54..8a5a50a 100644 --- a/src/pysolorie/logger.py +++ b/src/pysolorie/logger.py @@ -26,9 +26,7 @@ def logger_decorator(func): def wrapper(self, *args, **kwargs): self.logger = logging.getLogger(func.__name__) self.logger.setLevel(logging.INFO) - self.logger.info(f"Running '{func.__name__}'") result = func(self, *args, **kwargs) - self.logger.info(f"Finished '{func.__name__}'") return result return wrapper