File: log_level.html

package info (click to toggle)
boost 1.34.1-14
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 116,412 kB
  • ctags: 259,566
  • sloc: cpp: 642,395; xml: 56,450; python: 17,612; ansic: 14,520; sh: 2,265; yacc: 858; perl: 481; makefile: 478; lex: 94; sql: 74; csh: 6
file content (96 lines) | stat: -rw-r--r-- 3,872 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<HTML>
<HEAD>
<TITLE>The 'log level' parameter</TITLE>
<LINK rel="stylesheet" type="text/css" href="../../../style/btl.css" media="screen">
<LINK rel="stylesheet" type="text/css" href="../../../style/btl-print.css" media="print">
<META http-equiv="Content-Language" content="en-us">
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</HEAD>
<BODY>
<DIV class="header"> <A href="../../../index.html">Boost.Test</A> &gt; <A href="../../index.html">Components</A> 
  &gt; <A href="../index.html">The Unit Test Framework</A> &gt; <A href="index.html">Parameters</A> &gt; <SPAN class="current_article">Log
  level</SPAN> </DIV>
<DIV class="body"> <IMG src="../../btl1.gif" width="252" height="43" alt="Boost Test logo"> 
  <H1 class="subtitle">The 'log level' parameter</H1>
  <TABLE class="parameter-table" cellspacing="0">
    <TR> 
      <TD class="name"><B>Parameter Name:</B></TD>
      <TD><I>The Unit Test Framework log level</I></TD>
    </TR>
    <TR> 
      <TD class="name"><B>Environment variable name:</B></TD>
      <TD>BOOST_TEST_LOG_LEVEL</TD>
    </TR>
    <TR> 
      <TD class="name"><B>Command line argument name:</B></TD>
      <TD>log_level</TD>
    </TR>
    <TR> 
      <TD class="name"><B>Acceptable Values:</B></TD>
      <TD> 
        <TABLE class="parameter-values-table" cellspacing="0">
          <TR> 
            <TD>all</TD>
            <TD>- report all log messages including the passed test notification</TD>
          </TR>
          <TR> 
            <TD>success</TD>
            <TD>- the same as all</TD>
          </TR>
          <TR> 
            <TD>test_suite</TD>
            <TD>- show test suite messages</TD>
          </TR>
          <TR> 
            <TD>message</TD>
            <TD>- show user messages</TD>
          </TR>
          <TR> 
            <TD>warning</TD>
            <TD>- report warnings issued by user</TD>
          </TR>
          <TR> 
            <TD><B>error</B></TD>
            <TD>- report all error conditions</TD>
          </TR>
          <TR> 
            <TD>cpp_exception</TD>
            <TD>- report uncaught c++ exception</TD>
          </TR>
          <TR> 
            <TD>system_error</TD>
            <TD>- report system originated non-fatal errors (for example, timeout or floating point exception) 
            </TD>
          </TR>
          <TR> 
            <TD>fatal_error</TD>
            <TD>- report only user or system originated fatal errors (for example, memory access violation)</TD>
          </TR>
          <TR> 
            <TD>nothing</TD>
            <TD>- does not report any information</TD>
          </TR>
        </TABLE>
      </TD>
    </TR>
    <TR> 
      <TD class="name"> <B>Description:</B> </TD>
      <TD> allows to set the Unit Test Framework log level in a range from a complete log, when all successful 
        tests are confirmed and all test suite messages are included, to an empty log when nothing is 
        logged a test output stream. Note that log levels are accumulating, in other words each log level 
        includes also all the information reported by less restrictive ones.</TD>
    </TR>
  </TABLE>
</DIV>
<DIV class="footer"> 
  <DIV class="footer-body"> 
    <P> &copy; <A name="Copyright">Copyright</A> <A href="mailto:boost-test%20at%20emailaccount%20dot%20com%20%28please%20unobscure%29">Gennadiy Rozental</A> 2001-2006. <BR>
      Distributed under the Boost Software License, Version 1.0.
      (See accompanying file <A href="../../../../../../LICENSE_1_0.txt">LICENSE_1_0.txt</A> or copy at 
      <A href="http://www.boost.org/LICENSE_1_0.txt">www.boost.org/LICENSE_1_0.txt</A>)</P>
        <P>Revised:        <!-- #BeginDate format:Sw1 -->25 Oct, 2005<!-- #EndDate -->     </P>
  </DIV>
</DIV>
</BODY>
</HTML>