summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/msg.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-04-09 19:34:07 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-02 15:41:32 +0100
commit1569c1ac851b56bc73bf8ccd5270cbdd9da68a2f (patch)
tree22916682bf398b8f37f041d308aa83134d79952d /bitbake/lib/bb/msg.py
parentc8498f59eca15e4f0ee01c99b193698398596207 (diff)
downloadpoky-1569c1ac851b56bc73bf8ccd5270cbdd9da68a2f.tar.gz
Add a function to get the debug level, without poking into debug_levels manually
(Bitbake rev: 6ccc01a1a72ec354de52fef2bf5620384b8461ce) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/msg.py')
-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):
83 debug_level[d] = level 83 debug_level[d] = level
84 debug_level[domain.Default] = level 84 debug_level[domain.Default] = level
85 85
86def get_debug_level(msgdomain = domain.Default):
87 return debug_level[msgdomain]
88
86def set_verbose(level): 89def set_verbose(level):
87 verbose = level 90 verbose = level
88 91