54
class LaunchpadLogger(logging.Logger):
55
"""Logger that support our custom levels."""
57
def debug1(self, msg, *args, **kwargs):
58
if self.isEnabledFor(DEBUG1):
59
self._log(DEBUG1, msg, args, **kwargs)
61
def debug2(self, msg, *args, **kwargs):
62
if self.isEnabledFor(DEBUG2):
63
self._log(DEBUG2, msg, args, **kwargs)
65
def debug3(self, msg, *args, **kwargs):
66
if self.isEnabledFor(DEBUG3):
67
self._log(DEBUG3, msg, args, **kwargs)
69
def debug4(self, msg, *args, **kwargs):
70
if self.isEnabledFor(DEBUG4):
71
self._log(DEBUG4, msg, args, **kwargs)
73
def debug5(self, msg, *args, **kwargs):
74
if self.isEnabledFor(DEBUG5):
75
self._log(DEBUG5, msg, args, **kwargs)
77
def debug6(self, msg, *args, **kwargs):
78
if self.isEnabledFor(DEBUG6):
79
self._log(DEBUG6, msg, args, **kwargs)
81
def debug7(self, msg, *args, **kwargs):
82
if self.isEnabledFor(DEBUG7):
83
self._log(DEBUG7, msg, args, **kwargs)
85
def debug8(self, msg, *args, **kwargs):
86
if self.isEnabledFor(DEBUG8):
87
self._log(DEBUG8, msg, args, **kwargs)
89
def debug9(self, msg, *args, **kwargs):
90
if self.isEnabledFor(DEBUG9):
91
self._log(DEBUG9, msg, args, **kwargs)