summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/msg.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/msg.py b/bitbake/lib/bb/msg.py
index ea6a9543f7..c70fd80806 100644
--- a/bitbake/lib/bb/msg.py
+++ b/bitbake/lib/bb/msg.py
@@ -98,6 +98,9 @@ class BBLogFormatter(logging.Formatter):
98 def enable_color(self): 98 def enable_color(self):
99 self.color_enabled = True 99 self.color_enabled = True
100 100
101 def __repr__(self):
102 return "%s fmt='%s' color=%s" % (self.__class__.__name__, self._fmt, "True" if self.color_enabled else "False")
103
101class BBLogFilter(object): 104class BBLogFilter(object):
102 def __init__(self, handler, level, debug_domains): 105 def __init__(self, handler, level, debug_domains):
103 self.stdlevel = level 106 self.stdlevel = level