aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-06-10 10:35:31 -0700
committerChris Larson <chris_larson@mentor.com>2010-09-03 18:51:54 -0700
commit3b2c1fe5ca56daebb24073a9dd45723d3efd2a8d (patch)
tree1f77ebed5e5f48fd786286a51dd697113cb7ea28 /classes
parentc23c015cf8af1868faf293b19b80a5faf7e736a5 (diff)
downloadbitbake-3b2c1fe5ca56daebb24073a9dd45723d3efd2a8d.tar.gz
bitbake-3b2c1fe5ca56daebb24073a9dd45723d3efd2a8d.tar.bz2
bitbake-3b2c1fe5ca56daebb24073a9dd45723d3efd2a8d.zip
Switch bitbake internals to use logging directly rather than bb.msg
We use a custom Logger subclass for our loggers This logger provides: - 'debug' method which accepts a debug level - 'plain' method which bypasses log formatting - 'verbose' method which is more detail than info, but less than debug Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'classes')
-rw-r--r--classes/base.bbclass12
1 files changed, 0 insertions, 12 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index bd637e51..c6693ce3 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -35,18 +35,6 @@ bbfatal() {
exit 1
}
-bbdebug() {
- test $# -ge 2 || {
- echo "Usage: bbdebug level \"message\""
- exit 1
- }
-
- test ${@bb.msg.debug_level['default']} -ge $1 && {
- shift
- echo "DEBUG:" $*
- }
-}
-
addtask showdata
do_showdata[nostamp] = "1"
python do_showdata() {