summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/usingpoky.xml16
1 files changed, 8 insertions, 8 deletions
diff --git a/documentation/ref-manual/usingpoky.xml b/documentation/ref-manual/usingpoky.xml
index f94e3a79ff..40e39b5578 100644
--- a/documentation/ref-manual/usingpoky.xml
+++ b/documentation/ref-manual/usingpoky.xml
@@ -356,8 +356,8 @@
356 <section id='recipe-logging-mechanisms'> 356 <section id='recipe-logging-mechanisms'>
357 <title>Recipe Logging Mechanisms</title> 357 <title>Recipe Logging Mechanisms</title>
358 <para> 358 <para>
359 Best practices exist while writing recipes that both log build 359 The Yocto Project provides several logging functions for producing
360 progress and act on build conditions such as warnings and errors. 360 debugging output and reporting errors and warnings.
361 For Python functions, the following logging functions exist. 361 For Python functions, the following logging functions exist.
362 All of these functions log to 362 All of these functions log to
363 <filename>${T}/log.do_</filename><replaceable>task</replaceable>, 363 <filename>${T}/log.do_</filename><replaceable>task</replaceable>,
@@ -411,13 +411,13 @@
411 <filename>bbplain</filename>, <filename>bbnote</filename>, 411 <filename>bbplain</filename>, <filename>bbnote</filename>,
412 <filename>bbdebug</filename>, <filename>bbwarn</filename>, 412 <filename>bbdebug</filename>, <filename>bbwarn</filename>,
413 <filename>bberror</filename>, and <filename>bbfatal</filename>. 413 <filename>bberror</filename>, and <filename>bbfatal</filename>.
414 </para> 414 The
415 415 <link linkend='ref-classes-logging'><filename>logging</filename></link>
416 <para> 416 class implements these functions.
417 For guidance on how logging is handled in both Python and Bash recipes, see the 417 See that class in the
418 <filename>logging.bbclass</filename> file in the
419 <filename>meta/classes</filename> folder of the 418 <filename>meta/classes</filename> folder of the
420 <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>. 419 <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>
420 for information.
421 </para> 421 </para>
422 422
423 <section id='logging-with-python'> 423 <section id='logging-with-python'>