From 6092550153d2574e696b782a37b562330cc9282f Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Mon, 22 Jul 2024 21:48:25 +0200 Subject: [PATCH] Color logging --- crypto_seller/__main__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crypto_seller/__main__.py b/crypto_seller/__main__.py index c83ac3e..ec7dddd 100644 --- a/crypto_seller/__main__.py +++ b/crypto_seller/__main__.py @@ -18,6 +18,12 @@ from . import ( ) from . import logger as module_logger +try: + import logging_color + logging_color.monkey_patch() +except ImportError: + pass + logger = logging.getLogger(__name__) ################################################################################