msg: no need to hardcode the logging levels

(Bitbake rev: 8385bfb7da3a3b71f340a787d7f1502ba61c5b81)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Chris Larson authored and Richard Purdie committed 2011-01-10 22:10:53 +00:00
1 parent d967f3b731
commit 4428aabc92
1 file changed
+2 -2
+2 -2
View File
@@ -34,9 +34,9 @@ class BBLogFormatter(logging.Formatter):
"""Formatter which ensures that our 'plain' messages (logging.INFO + 1) are used as is"""
DEBUG = logging.DEBUG
VERBOSE = 19
VERBOSE = logging.INFO - 1
NOTE = logging.INFO
PLAIN = 21
PLAIN = logging.INFO + 1
ERROR = logging.ERROR
WARNING = logging.WARNING
CRITICAL = logging.CRITICAL