mirror of
https://github.com/Tech-Workers-Coalition-Italia/mobilizon-reshare.git
synced 2025-02-11 09:10:51 +01:00
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
|
||||
|
||||
logging.basicConfig(
|
||||
format='%(asctime)s - %(levelname)s - %(name)s - %(message)s',
|
||||
level=logging.INFO
|
||||
)
|
||||
logger = logging.getLogger("Publishers")
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class AbstractPublisher(ABC):
|
||||
|
Loading…
x
Reference in New Issue
Block a user