diff options
Diffstat (limited to 'meta/classes/logging.bbclass')
-rw-r--r-- | meta/classes/logging.bbclass | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes/logging.bbclass b/meta/classes/logging.bbclass index f19edddde5..6b24839af5 100644 --- a/meta/classes/logging.bbclass +++ b/meta/classes/logging.bbclass | |||
@@ -40,6 +40,14 @@ bbfatal() { | |||
40 | exit 1 | 40 | exit 1 |
41 | } | 41 | } |
42 | 42 | ||
43 | # Like bbfatal, except prevents the suppression of the error log by | ||
44 | # bitbake's UI. | ||
45 | # Output: logs console | ||
46 | bbfatal_log() { | ||
47 | printf "%b\0" "bbfatal_log $*" > ${LOGFIFO} | ||
48 | exit 1 | ||
49 | } | ||
50 | |||
43 | # Print debug messages. These are appropriate for progress checkpoint | 51 | # Print debug messages. These are appropriate for progress checkpoint |
44 | # messages to the logs. Depending on the debug log level, they may also | 52 | # messages to the logs. Depending on the debug log level, they may also |
45 | # go to the console. | 53 | # go to the console. |