core (log): logging with Twisted now uses the new twisted.logger

This commit is contained in:
Goffi 2020-05-25 15:46:21 +02:00
commit c0a3f8d141

View file

@ -37,7 +37,7 @@ class Filtered(Exception):
pass
class Logger(object):
class Logger:
"""High level logging class"""
fmt = None # format option as given by user (e.g. SAT_LOG_LOGGER)
filter_name = None # filter to call
@ -163,7 +163,7 @@ class FilterName(object):
return self.filter(log_record) == 1
class ConfigureBase(object):
class ConfigureBase:
LOGGER_CLASS = Logger
# True if color location is specified in fmt (with COLOR_START)
_color_location = False