changed logger to be more pythonic
This commit is contained in:
parent
b60971206f
commit
a6a14d2689
|
@ -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):
|
||||||
|
|
Loading…
Reference in New Issue