changed logger to be more pythonic

This commit is contained in:
Simone Robutti 2021-05-02 10:24:46 +02:00
parent b60971206f
commit a6a14d2689
1 changed files with 1 additions and 5 deletions

View File

@ -3,11 +3,7 @@ import logging
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
logging.basicConfig( logger = logging.getLogger(__name__)
format='%(asctime)s - %(levelname)s - %(name)s - %(message)s',
level=logging.INFO
)
logger = logging.getLogger("Publishers")
class AbstractPublisher(ABC): class AbstractPublisher(ABC):