From 63f526767953160151ec5aaff0f3092d0f59bf09 Mon Sep 17 00:00:00 2001 From: Emily Boudreaux Date: Wed, 12 Jun 2024 12:02:30 +0000 Subject: [PATCH] feat(logging.py): Added term output and seperate basic evolutionary output --- src/CoolDwarf/utils/misc/logging.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/CoolDwarf/utils/misc/logging.py b/src/CoolDwarf/utils/misc/logging.py index ac1831e..46bbedf 100644 --- a/src/CoolDwarf/utils/misc/logging.py +++ b/src/CoolDwarf/utils/misc/logging.py @@ -52,12 +52,15 @@ def setup_logging(debug: bool = False): 'standard': { 'format': '%(asctime)s - %(name)s - %(levelname)s - %(message)s', }, + 'term': { + 'format': '%(levelname)s: %(message)s', + } }, 'handlers': { 'console': { 'class': 'logging.StreamHandler', 'level': 30, - 'formatter': 'standard', + 'formatter': 'term', 'stream': 'ext://sys.stdout', }, 'file_all_except_custom': {