summaryrefslogtreecommitdiff
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 5df9b1f284..b4d3a2c985 100644
--- a/bitbake/lib/bb/msg.py
+++ b/bitbake/lib/bb/msg.py
@@ -83,6 +83,9 @@ def set_debug_level(level):
debug_level[d] = level
debug_level[domain.Default] = level
+def get_debug_level(msgdomain = domain.Default):
+ return debug_level[msgdomain]
+
def set_verbose(level):
verbose = level