зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1560956 - RaptorLogger class should not inherit from ProxyLogger r=perftest-reviewers,sparky
RaptorLogger class is using object composition to create its logger field. Because the inheritance is not used to achieve that, there is no need to extend ProxyLogger class. Differential Revision: https://phabricator.services.mozilla.com/D35661 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
d998039c21
Коммит
1c86c4412d
|
@ -9,7 +9,7 @@ from __future__ import absolute_import
|
|||
from mozlog.proxy import ProxyLogger
|
||||
|
||||
|
||||
class RaptorLogger(ProxyLogger):
|
||||
class RaptorLogger():
|
||||
|
||||
def __init__(self, component=None):
|
||||
self.logger = ProxyLogger(component)
|
||||
|
|
Загрузка…
Ссылка в новой задаче