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 2011-01-10 12:30:05 -07:00 committed by Richard Purdie
parent d967f3b731
commit 4428aabc92
1 changed files with 2 additions and 2 deletions

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