Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / log / doc / html / boost / log / wadd_console_log.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
4 <title>Function wadd_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_cons_idm45711343096128.html" title="Function add_console_log">
10 <link rel="next" href="add_file_log.html" title="Function template add_file_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_cons_idm45711343096128.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="add_file_log.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
17 </div>
18 <div class="refentry">
19 <a name="boost.log.wadd_console_log"></a><div class="titlepage"></div>
20 <div class="refnamediv">
21 <h2><span class="refentrytitle">Function wadd_console_log</span></h2>
22 <p>boost::log::wadd_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">wtext_ostream_backend</span> <span class="special">&gt;&gt;</span> 
29 <span class="identifier">wadd_console_log</span><span class="special">(</span><span class="special">)</span><span class="special">;</span></pre></div>
30 <div class="refsect1">
31 <a name="idm45554722842304"></a><h2>Description</h2>
32 <p>The function constructs sink for the <code class="computeroutput">std::wclog</code> stream and adds it to the core</p>
33 <p>
34 </p>
35 <div class="variablelist"><table border="0" class="variablelist compact">
36 <colgroup>
37 <col align="left" valign="top">
38 <col>
39 </colgroup>
40 <tbody><tr>
41 <td><p><span class="term">Returns:</span></p></td>
42 <td><p>Pointer to the constructed sink. </p></td>
43 </tr></tbody>
44 </table></div>
45 </div>
46 </div>
47 <table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
48 <td align="left"></td>
49 <td align="right"><div class="copyright-footer">Copyright &#169; 2007-2016 Andrey Semashev<p>
50         Distributed under the Boost Software License, Version 1.0. (See accompanying
51         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>).
52       </p>
53 </div></td>
54 </tr></table>
55 <hr>
56 <div class="spirit-nav">
57 <a accesskey="p" href="add_cons_idm45711343096128.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="add_file_log.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
58 </div>
59 </body>
60 </html>