]> code.ossystems Code Review - openembedded-core.git/commit
build: use logger.isEnabledFor, not getEffectiveLevel
authorChris Larson <chris_larson@mentor.com>
Wed, 5 Jan 2011 18:19:21 +0000 (11:19 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 6 Jan 2011 10:46:54 +0000 (10:46 +0000)
commite7febaa3436d61b90c2f54ee4d143ac5c5530db8
tree0a8122159381ca8b997f22e1315aa906951cf210
parent9b5c770cbda8cfc4c108d94bd0ff5c0af3d0b64b
build: use logger.isEnabledFor, not getEffectiveLevel

I think this is less confusing, and avoids needing to know about the *range*
of logging levels, instead simply asking what we really want to know.

(Bitbake rev: dc2264387617586b5c0a61e126c75edde5e7abcd)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/build.py