diff options
| -rw-r--r-- | meta/classes-global/logging.bbclass | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/classes-global/logging.bbclass b/meta/classes-global/logging.bbclass index ce03abfe42..136f1e1733 100644 --- a/meta/classes-global/logging.bbclass +++ b/meta/classes-global/logging.bbclass | |||
| @@ -32,6 +32,16 @@ bbnote() { | |||
| 32 | fi | 32 | fi |
| 33 | } | 33 | } |
| 34 | 34 | ||
| 35 | # Notify the user of a noteworthy condition. | ||
| 36 | # Output: logs console | ||
| 37 | bbverbnote() { | ||
| 38 | if [ -p ${LOGFIFO} ]; then | ||
| 39 | printf "%b\0" "bbverbnote $*" > ${LOGFIFO} | ||
| 40 | else | ||
| 41 | echo "NOTE: $*" | ||
| 42 | fi | ||
| 43 | } | ||
| 44 | |||
| 35 | # Print a warning to the log. Warnings are non-fatal, and do not | 45 | # Print a warning to the log. Warnings are non-fatal, and do not |
| 36 | # indicate a build failure. | 46 | # indicate a build failure. |
| 37 | # Output: logs console | 47 | # Output: logs console |
