Another logging approach...

This commit is contained in:
Artem30801
2019-05-12 14:25:55 +03:00
parent dc60616035
commit b6cc84e474
3 changed files with 49 additions and 2 deletions

View File

@@ -12,10 +12,13 @@ try:
except ImportError:
import selectors2 as selectors
import logging_lib
PendingRequest = collections.namedtuple("PendingRequest", ["value", "requested_value", # "expires_on",
"callback", "callback_args", "callback_kwargs",
])
logger = logging.getLogger(__name__)
_logger = logging.getLogger(__name__)
logger = logging_lib.Logger(_logger, True)
class MessageManager: