Imported Upstream version 1.63.0
[platform/upstream/boost.git] / libs / log / doc / html / boost / log / add_console_lo_idp49436704.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>Function add_console_log</title>
5 <link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
6 <meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7 <link rel="home" href="../../index.html" title="Chapter&#160;1.&#160;Boost.Log v2">
8 <link rel="up" href="../../utilities.html#header.boost.log.utility.setup.console_hpp" title="Header &lt;boost/log/utility/setup/console.hpp&gt;">
9 <link rel="prev" href="add_console_lo_idp49431200.html" title="Function template add_console_log">
10 <link rel="next" href="wadd_console_log.html" title="Function wadd_console_log">
11 </head>
12 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13 <table cellpadding="2" width="100%"><tr><td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td></tr></table>
14 <hr>
15 <div class="spirit-nav">
16 <a accesskey="p" href="add_console_lo_idp49431200.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../utilities.html#header.boost.log.utility.setup.console_hpp"><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="wadd_console_log.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
17 </div>
18 <div class="refentry">
19 <a name="boost.log.add_console_lo_idp49436704"></a><div class="titlepage"></div>
20 <div class="refnamediv">
21 <h2><span class="refentrytitle">Function add_console_log</span></h2>
22 <p>boost::log::add_console_log</p>
23 </div>
24 <h2 xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
25 <div xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: &lt;<a class="link" href="../../utilities.html#header.boost.log.utility.setup.console_hpp" title="Header &lt;boost/log/utility/setup/console.hpp&gt;">boost/log/utility/setup/console.hpp</a>&gt;
26
27 </span>
28 <span class="identifier">shared_ptr</span><span class="special">&lt;</span> <span class="identifier">sinks</span><span class="special">::</span><span class="identifier">synchronous_sink</span><span class="special">&lt;</span> <span class="identifier">sinks</span><span class="special">::</span><span class="identifier">text_ostream_backend</span> <span class="special">&gt;&gt;</span> 
29 <span class="identifier">add_console_log</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></div>
30 <div class="refsect1">
31 <a name="idp125878608"></a><h2>Description</h2>
32 <p>The function constructs sink for the <code class="computeroutput">std::clog</code> stream and adds it to the core</p>
33 <p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.</p>
34 <p>
35 </p>
36 <div class="variablelist"><table border="0" class="variablelist compact">
37 <colgroup>
38 <col align="left" valign="top">
39 <col>
40 </colgroup>
41 <tbody><tr>
42 <td><p><span class="term">Returns:</span></p></td>
43 <td><p>Pointer to the constructed sink. </p></td>
44 </tr></tbody>
45 </table></div>
46 </div>
47 </div>
48 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
49 <td align="left"></td>
50 <td align="right"><div class="copyright-footer">Copyright &#169; 2007-2016 Andrey Semashev<p>
51         Distributed under the Boost Software License, Version 1.0. (See accompanying
52         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>).
53       </p>
54 </div></td>
55 </tr></table>
56 <hr>
57 <div class="spirit-nav">
58 <a accesskey="p" href="add_console_lo_idp49431200.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../utilities.html#header.boost.log.utility.setup.console_hpp"><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="wadd_console_log.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
59 </div>
60 </body>
61 </html>