From a804ec1a594d278fb41eec6d5061cafc18e3b2c2 Mon Sep 17 00:00:00 2001 From: "Dr. Bastian Ebeling" <230051+Barry1@users.noreply.github.com> Date: Mon, 5 Aug 2024 13:01:10 +0200 Subject: [PATCH] bit better --- src/valuefragments/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/valuefragments/decorators.py b/src/valuefragments/decorators.py index f43936c..3378ed9 100644 --- a/src/valuefragments/decorators.py +++ b/src/valuefragments/decorators.py @@ -64,7 +64,7 @@ def logdecorate( | Callable[_FunParamT, Coroutine[Any, Any, _FunCallResultT]] ): """Decorator to log start and stop into file 'decorated.log' with logging.""" - thelogger: logging.Logger = logging.getLogger("logdecorate." + func.__name__) + thelogger: logging.Logger = logging.getLogger(f"logdecorate.{func.__name__}") the_format: str = "|".join( [ "%(asctime)s",