3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>Test log output</title>
5 <link rel="stylesheet" href="../../../boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="../../../index.html" title="Boost.Test">
8 <link rel="up" href="../log_formats.html" title="Log formats">
9 <link rel="prev" href="../log_formats.html" title="Log formats">
10 <link rel="next" href="log_human_readable_format.html" title="HRF: Human readable log format">
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr>
14 <td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
15 <td align="center"><a href="../../../../../../../index.html">Home</a></td>
16 <td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
17 <td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18 <td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19 <td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
22 <div class="spirit-nav">
23 <a accesskey="p" href="../log_formats.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../log_formats.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="log_human_readable_format.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
26 <div class="titlepage"><div><div><h4 class="title">
27 <a name="boost_test.test_output.log_formats.test_log_output"></a><a class="link" href="test_log_output.html" title="Test log output">Test
29 </h4></div></div></div>
31 The test log is produced during the test execution. All entries in the
32 test log are assigned a particular log level. Only the entries with level
33 that exceeds the <span class="emphasis"><em>active log level threshold</em></span> actually
34 appear in the test log output. Log levels are arranged by the 'importance'
35 of the log entries. Here is the list of all levels in order of increasing
38 <a name="test_log_output_table"></a><div class="table">
39 <a name="boost_test.test_output.log_formats.test_log_output.id_messages"></a><p class="title"><b>Table 4. Messages</b></p>
40 <div class="table-contents"><table class="table" summary="Messages">
66 This category includes messages that provide information on successfully
79 This category includes messages that are produced by the <span class="emphasis"><em>Unit
80 Test Framework</em></span> core and indicate which test suites/cases
81 are currently being executed or skipped
93 This category includes general information messages produced
94 in most cases by a test module author using the macro <a class="link" href="../../utf_reference/testout_reference/test_output_macro_message.html" title="BOOST_TEST_MESSAGE"><code class="computeroutput"><span class="identifier">BOOST_TEST_MESSAGE</span></code></a>
106 This category includes messages produced by failed <code class="computeroutput"><span class="identifier">WARNING</span></code> level assertions
118 This category includes messages produced by failed <code class="computeroutput"><span class="identifier">CHECK</span></code> level assertions
125 Uncaught C++ exceptions
130 This category includes messages that are produced by the <span class="emphasis"><em>Unit
131 Test Framework</em></span> and provide detailed information on
132 the C++ exceptions uncaught by the test case body.
139 Non-fatal system error
144 This category includes messages that are produced by the <span class="emphasis"><em>Unit
145 Test Framework</em></span> itself and provides information about
146 caught non-fatal system error. For example it includes messages
147 produced in the case of test case timeout or if floating point
148 values calculation errors are caught.
160 This category includes messages produced by failed require level
161 assertions and by the <span class="emphasis"><em>Unit Test Framework</em></span>
162 itself in case of abnormal test case termination.
169 <br class="table-break"><div class="note"><table border="0" summary="Note">
171 <td rowspan="2" align="center" valign="top" width="25"><img alt="[Note]" src="../../../../../../../doc/src/images/note.png"></td>
172 <th align="left">Note</th>
174 <tr><td align="left" valign="top"><p>
175 The active log level works namely as threshold, not as selector. For
176 the given active log level threshold, all test log entries with <span class="emphasis"><em>importance</em></span>
177 higher than threshold are enabled and all test log entries with <span class="emphasis"><em>importance</em></span>
178 below threshold are disabled.
182 In addition to the levels described above the test log defines two special
183 log levels. The current log level can be set to:
185 <div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
186 <li class="listitem">
187 All messages<br> If active log level threshold is set to this value,
188 all test log entries appear in the output. In practice this is equivalent
189 to setting the active log level threshold to <span class="emphasis"><em>success information
192 <li class="listitem">
193 Nothing<br> If the active log level threshold is set to this value,
194 none of test log entries appear in the output. This log level is used
195 to execute a <span class="emphasis"><em>silent</em></span> test that doesn't produce
196 any test log and only generates a result code indicating whether test
201 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
202 <td align="left"></td>
203 <td align="right"><div class="copyright-footer">Copyright © 2001-2019 Boost.Test
205 Distributed under the Boost Software License, Version 1.0. (See accompanying
206 file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
211 <div class="spirit-nav">
212 <a accesskey="p" href="../log_formats.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../log_formats.html"><img src="../../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="log_human_readable_format.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>