Files
rippled/classbeast_1_1WrappedSink.html
2025-11-04 00:36:48 -08:00

612 lines
33 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>rippled: beast::WrappedSink Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">rippled
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacebeast.html">beast</a></li><li class="navelem"><a class="el" href="classbeast_1_1WrappedSink.html">WrappedSink</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classbeast_1_1WrappedSink-members.html">List of all members</a> </div>
<div class="headertitle"><div class="title">beast::WrappedSink Class Reference</div></div>
</div><!--header-->
<div class="contents">
<p>Wraps a <a class="el" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination.">Journal::Sink</a> to prefix its output with a string.
<a href="classbeast_1_1WrappedSink.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="WrappedSink_8h_source.html">WrappedSink.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for beast::WrappedSink:</div>
<div class="dyncontent">
<div class="center"><img src="classbeast_1_1WrappedSink__inherit__graph.png" border="0" usemap="#abeast_1_1WrappedSink_inherit__map" alt="Inheritance graph"/></div>
<map name="abeast_1_1WrappedSink_inherit__map" id="abeast_1_1WrappedSink_inherit__map">
<area shape="rect" title="Wraps a Journal::Sink to prefix its output with a string." alt="" coords="5,79,157,104"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="8,5,155,31"/>
<area shape="poly" title=" " alt="" coords="84,44,84,79,79,79,79,44"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for beast::WrappedSink:</div>
<div class="dyncontent">
<div class="center"><img src="classbeast_1_1WrappedSink__coll__graph.png" border="0" usemap="#abeast_1_1WrappedSink_coll__map" alt="Collaboration graph"/></div>
<map name="abeast_1_1WrappedSink_coll__map" id="abeast_1_1WrappedSink_coll__map">
<area shape="rect" title="Wraps a Journal::Sink to prefix its output with a string." alt="" coords="47,183,199,208"/>
<area shape="rect" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination." alt="" coords="5,95,152,120"/>
<area shape="poly" title=" " alt="" coords="89,132,100,157,115,181,111,184,95,160,84,134"/>
<area shape="poly" title=" " alt="" coords="93,131,119,181,114,183,89,134"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="177,95,263,120"/>
<area shape="poly" title=" " alt="" coords="198,131,138,184,134,180,195,127"/>
<area shape="rect" target="_parent" href="http://en.cppreference.com/w/cpp/string/basic_string.html" title=" " alt="" coords="151,5,289,45"/>
<area shape="poly" title=" " alt="" coords="223,59,223,94,217,94,217,59"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a1808fd367d5312c054e30f9c557b52ad" id="r_a1808fd367d5312c054e30f9c557b52ad"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1WrappedSink.html#a1808fd367d5312c054e30f9c557b52ad">WrappedSink</a> (<a class="el" href="classbeast_1_1Journal_1_1Sink.html">beast::Journal::Sink</a> &amp;sink, <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;<a class="el" href="classbeast_1_1WrappedSink.html#a93cb5ec2671b8820a61fe36aa53f5793">prefix</a>=&quot;&quot;)</td></tr>
<tr class="separator:a1808fd367d5312c054e30f9c557b52ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1659211eefb6c56ae06dc20b425fa73b" id="r_a1659211eefb6c56ae06dc20b425fa73b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1WrappedSink.html#a1659211eefb6c56ae06dc20b425fa73b">WrappedSink</a> (<a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> const &amp;journal, <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;<a class="el" href="classbeast_1_1WrappedSink.html#a93cb5ec2671b8820a61fe36aa53f5793">prefix</a>=&quot;&quot;)</td></tr>
<tr class="separator:a1659211eefb6c56ae06dc20b425fa73b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93cb5ec2671b8820a61fe36aa53f5793" id="r_a93cb5ec2671b8820a61fe36aa53f5793"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1WrappedSink.html#a93cb5ec2671b8820a61fe36aa53f5793">prefix</a> (<a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;s)</td></tr>
<tr class="separator:a93cb5ec2671b8820a61fe36aa53f5793"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af462747f670e2cbdc9f7e87d3968633e" id="r_af462747f670e2cbdc9f7e87d3968633e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1WrappedSink.html#af462747f670e2cbdc9f7e87d3968633e">active</a> (<a class="el" href="namespacebeast_1_1severities.html#a069a8a312b9123b77f6aa31733ca73be">beast::severities::Severity</a> level) const override</td></tr>
<tr class="memdesc:af462747f670e2cbdc9f7e87d3968633e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <code>true</code> if text at the passed severity produces output. <br /></td></tr>
<tr class="separator:af462747f670e2cbdc9f7e87d3968633e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16d049eb969c6b085bbeb218a3e2e5ae" id="r_a16d049eb969c6b085bbeb218a3e2e5ae"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1WrappedSink.html#a16d049eb969c6b085bbeb218a3e2e5ae">console</a> () const override</td></tr>
<tr class="memdesc:a16d049eb969c6b085bbeb218a3e2e5ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <code>true</code> if a message is also written to the Output Window (MSVC). <br /></td></tr>
<tr class="separator:a16d049eb969c6b085bbeb218a3e2e5ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1354817ab3a7d8f6b70a52a493d61aa1" id="r_a1354817ab3a7d8f6b70a52a493d61aa1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1WrappedSink.html#a1354817ab3a7d8f6b70a52a493d61aa1">console</a> (bool output) override</td></tr>
<tr class="memdesc:a1354817ab3a7d8f6b70a52a493d61aa1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set whether messages are also written to the Output Window (MSVC). <br /></td></tr>
<tr class="separator:a1354817ab3a7d8f6b70a52a493d61aa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a809574e6c42452d076743b498303fa7a" id="r_a809574e6c42452d076743b498303fa7a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacebeast_1_1severities.html#a069a8a312b9123b77f6aa31733ca73be">beast::severities::Severity</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1WrappedSink.html#a809574e6c42452d076743b498303fa7a">threshold</a> () const override</td></tr>
<tr class="memdesc:a809574e6c42452d076743b498303fa7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the minimum severity level this sink will report. <br /></td></tr>
<tr class="separator:a809574e6c42452d076743b498303fa7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae823d11f371af8f69a0a5959a1771643" id="r_ae823d11f371af8f69a0a5959a1771643"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1WrappedSink.html#ae823d11f371af8f69a0a5959a1771643">threshold</a> (<a class="el" href="namespacebeast_1_1severities.html#a069a8a312b9123b77f6aa31733ca73be">beast::severities::Severity</a> thresh) override</td></tr>
<tr class="memdesc:ae823d11f371af8f69a0a5959a1771643"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the minimum severity this sink will report. <br /></td></tr>
<tr class="separator:ae823d11f371af8f69a0a5959a1771643"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af6769577b5fd1ba886af0da309144ede" id="r_af6769577b5fd1ba886af0da309144ede"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1WrappedSink.html#af6769577b5fd1ba886af0da309144ede">write</a> (<a class="el" href="namespacebeast_1_1severities.html#a069a8a312b9123b77f6aa31733ca73be">beast::severities::Severity</a> level, <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;text) override</td></tr>
<tr class="memdesc:af6769577b5fd1ba886af0da309144ede"><td class="mdescLeft">&#160;</td><td class="mdescRight">Write text to the sink at the specified severity. <br /></td></tr>
<tr class="separator:af6769577b5fd1ba886af0da309144ede"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87c0cf2c3b187231380eae3cab0f6c9a" id="r_a87c0cf2c3b187231380eae3cab0f6c9a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1WrappedSink.html#a87c0cf2c3b187231380eae3cab0f6c9a">writeAlways</a> (<a class="el" href="namespacebeast_1_1severities.html#a069a8a312b9123b77f6aa31733ca73be">severities::Severity</a> level, <a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;text) override</td></tr>
<tr class="memdesc:a87c0cf2c3b187231380eae3cab0f6c9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Bypass filter and write text to the sink at the specified severity. <br /></td></tr>
<tr class="separator:a87c0cf2c3b187231380eae3cab0f6c9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a4965950b6eea7361f57d18ca9f06044c" id="r_a4965950b6eea7361f57d18ca9f06044c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbeast_1_1Journal_1_1Sink.html">beast::Journal::Sink</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1WrappedSink.html#a4965950b6eea7361f57d18ca9f06044c">sink_</a></td></tr>
<tr class="separator:a4965950b6eea7361f57d18ca9f06044c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e32f65246f374d45c7aa3cae98b8b74" id="r_a9e32f65246f374d45c7aa3cae98b8b74"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1WrappedSink.html#a9e32f65246f374d45c7aa3cae98b8b74">prefix_</a></td></tr>
<tr class="separator:a9e32f65246f374d45c7aa3cae98b8b74"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4901ba08ac3271fdb8fbe42607dd19f4" id="r_a4901ba08ac3271fdb8fbe42607dd19f4"><td class="memItemLeft" align="right" valign="top">Severity&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1Journal_1_1Sink.html#a4901ba08ac3271fdb8fbe42607dd19f4">thresh_</a></td></tr>
<tr class="separator:a4901ba08ac3271fdb8fbe42607dd19f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a114504ebaf3303bbfb5a507a1133639c" id="r_a114504ebaf3303bbfb5a507a1133639c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classbeast_1_1Journal_1_1Sink.html#a114504ebaf3303bbfb5a507a1133639c">m_console</a></td></tr>
<tr class="separator:a114504ebaf3303bbfb5a507a1133639c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Wraps a <a class="el" href="classbeast_1_1Journal_1_1Sink.html" title="Abstraction for the underlying message destination.">Journal::Sink</a> to prefix its output with a string. </p>
<p class="definition">Definition at line <a class="el" href="WrappedSink_8h_source.html#l00014">14</a> of file <a class="el" href="WrappedSink_8h_source.html">WrappedSink.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a1808fd367d5312c054e30f9c557b52ad" name="a1808fd367d5312c054e30f9c557b52ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1808fd367d5312c054e30f9c557b52ad">&#9670;&#160;</a></span>WrappedSink() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">beast::WrappedSink::WrappedSink </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classbeast_1_1Journal_1_1Sink.html">beast::Journal::Sink</a> &amp;&#160;</td>
<td class="paramname"><em>sink</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;&#160;</td>
<td class="paramname"><em>prefix</em> = <code>&quot;&quot;</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="WrappedSink_8h_source.html#l00021">21</a> of file <a class="el" href="WrappedSink_8h_source.html">WrappedSink.h</a>.</p>
</div>
</div>
<a id="a1659211eefb6c56ae06dc20b425fa73b" name="a1659211eefb6c56ae06dc20b425fa73b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1659211eefb6c56ae06dc20b425fa73b">&#9670;&#160;</a></span>WrappedSink() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">beast::WrappedSink::WrappedSink </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classbeast_1_1Journal.html">beast::Journal</a> const &amp;&#160;</td>
<td class="paramname"><em>journal</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;&#160;</td>
<td class="paramname"><em>prefix</em> = <code>&quot;&quot;</code>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="WrappedSink_8h_source.html#l00028">28</a> of file <a class="el" href="WrappedSink_8h_source.html">WrappedSink.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a93cb5ec2671b8820a61fe36aa53f5793" name="a93cb5ec2671b8820a61fe36aa53f5793"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93cb5ec2671b8820a61fe36aa53f5793">&#9670;&#160;</a></span>prefix()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void beast::WrappedSink::prefix </td>
<td>(</td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;&#160;</td>
<td class="paramname"><em>s</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="WrappedSink_8h_source.html#l00036">36</a> of file <a class="el" href="WrappedSink_8h_source.html">WrappedSink.h</a>.</p>
</div>
</div>
<a id="af462747f670e2cbdc9f7e87d3968633e" name="af462747f670e2cbdc9f7e87d3968633e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af462747f670e2cbdc9f7e87d3968633e">&#9670;&#160;</a></span>active()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool beast::WrappedSink::active </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespacebeast_1_1severities.html#a069a8a312b9123b77f6aa31733ca73be">beast::severities::Severity</a>&#160;</td>
<td class="paramname"><em>level</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <code>true</code> if text at the passed severity produces output. </p>
<p>Reimplemented from <a class="el" href="classbeast_1_1Journal_1_1Sink.html#a72d6f4718d1cc5c5c5d76553d8ce10df">beast::Journal::Sink</a>.</p>
<p class="definition">Definition at line <a class="el" href="WrappedSink_8h_source.html#l00042">42</a> of file <a class="el" href="WrappedSink_8h_source.html">WrappedSink.h</a>.</p>
</div>
</div>
<a id="a16d049eb969c6b085bbeb218a3e2e5ae" name="a16d049eb969c6b085bbeb218a3e2e5ae"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a16d049eb969c6b085bbeb218a3e2e5ae">&#9670;&#160;</a></span>console() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool beast::WrappedSink::console </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns <code>true</code> if a message is also written to the Output Window (MSVC). </p>
<p>Reimplemented from <a class="el" href="classbeast_1_1Journal_1_1Sink.html#a802ffa8580f1820bcc797592fc8fdfe2">beast::Journal::Sink</a>.</p>
<p class="definition">Definition at line <a class="el" href="WrappedSink_8h_source.html#l00048">48</a> of file <a class="el" href="WrappedSink_8h_source.html">WrappedSink.h</a>.</p>
</div>
</div>
<a id="a1354817ab3a7d8f6b70a52a493d61aa1" name="a1354817ab3a7d8f6b70a52a493d61aa1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1354817ab3a7d8f6b70a52a493d61aa1">&#9670;&#160;</a></span>console() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void beast::WrappedSink::console </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>output</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Set whether messages are also written to the Output Window (MSVC). </p>
<p>Reimplemented from <a class="el" href="classbeast_1_1Journal_1_1Sink.html#a007194f659d13169ddab5ece28e52f54">beast::Journal::Sink</a>.</p>
<p class="definition">Definition at line <a class="el" href="WrappedSink_8h_source.html#l00054">54</a> of file <a class="el" href="WrappedSink_8h_source.html">WrappedSink.h</a>.</p>
</div>
</div>
<a id="a809574e6c42452d076743b498303fa7a" name="a809574e6c42452d076743b498303fa7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a809574e6c42452d076743b498303fa7a">&#9670;&#160;</a></span>threshold() <span class="overload">[1/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacebeast_1_1severities.html#a069a8a312b9123b77f6aa31733ca73be">beast::severities::Severity</a> beast::WrappedSink::threshold </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the minimum severity level this sink will report. </p>
<p>Reimplemented from <a class="el" href="classbeast_1_1Journal_1_1Sink.html#a763da4afe95c22997084ad368db9dfc1">beast::Journal::Sink</a>.</p>
<p class="definition">Definition at line <a class="el" href="WrappedSink_8h_source.html#l00060">60</a> of file <a class="el" href="WrappedSink_8h_source.html">WrappedSink.h</a>.</p>
</div>
</div>
<a id="ae823d11f371af8f69a0a5959a1771643" name="ae823d11f371af8f69a0a5959a1771643"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae823d11f371af8f69a0a5959a1771643">&#9670;&#160;</a></span>threshold() <span class="overload">[2/2]</span></h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void beast::WrappedSink::threshold </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespacebeast_1_1severities.html#a069a8a312b9123b77f6aa31733ca73be">beast::severities::Severity</a>&#160;</td>
<td class="paramname"><em>thresh</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the minimum severity this sink will report. </p>
<p>Reimplemented from <a class="el" href="classbeast_1_1Journal_1_1Sink.html#a3d5da921524075948fd96299d17a4763">beast::Journal::Sink</a>.</p>
<p class="definition">Definition at line <a class="el" href="WrappedSink_8h_source.html#l00066">66</a> of file <a class="el" href="WrappedSink_8h_source.html">WrappedSink.h</a>.</p>
</div>
</div>
<a id="af6769577b5fd1ba886af0da309144ede" name="af6769577b5fd1ba886af0da309144ede"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6769577b5fd1ba886af0da309144ede">&#9670;&#160;</a></span>write()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void beast::WrappedSink::write </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespacebeast_1_1severities.html#a069a8a312b9123b77f6aa31733ca73be">beast::severities::Severity</a>&#160;</td>
<td class="paramname"><em>level</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;&#160;</td>
<td class="paramname"><em>text</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Write text to the sink at the specified severity. </p>
<p>A conforming implementation will not write the text if the passed level is below the current <a class="el" href="classbeast_1_1WrappedSink.html#a809574e6c42452d076743b498303fa7a" title="Returns the minimum severity level this sink will report.">threshold()</a>. </p>
<p>Implements <a class="el" href="classbeast_1_1Journal_1_1Sink.html#a8886af7a5275b68f3f2e5e907dbbe726">beast::Journal::Sink</a>.</p>
<p class="definition">Definition at line <a class="el" href="WrappedSink_8h_source.html#l00072">72</a> of file <a class="el" href="WrappedSink_8h_source.html">WrappedSink.h</a>.</p>
</div>
</div>
<a id="a87c0cf2c3b187231380eae3cab0f6c9a" name="a87c0cf2c3b187231380eae3cab0f6c9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87c0cf2c3b187231380eae3cab0f6c9a">&#9670;&#160;</a></span>writeAlways()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void beast::WrappedSink::writeAlways </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespacebeast_1_1severities.html#a069a8a312b9123b77f6aa31733ca73be">severities::Severity</a>&#160;</td>
<td class="paramname"><em>level</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> const &amp;&#160;</td>
<td class="paramname"><em>text</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Bypass filter and write text to the sink at the specified severity. </p>
<p>Always write the message, but maintain the same formatting as if it passed through a level filter.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">level</td><td>Level to display in message. </td></tr>
<tr><td class="paramname">text</td><td>Text to write to sink. </td></tr>
</table>
</dd>
</dl>
<p>Implements <a class="el" href="classbeast_1_1Journal_1_1Sink.html#ab3c494b44e89acc64314906d01198761">beast::Journal::Sink</a>.</p>
<p class="definition">Definition at line <a class="el" href="WrappedSink_8h_source.html#l00079">79</a> of file <a class="el" href="WrappedSink_8h_source.html">WrappedSink.h</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a4965950b6eea7361f57d18ca9f06044c" name="a4965950b6eea7361f57d18ca9f06044c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4965950b6eea7361f57d18ca9f06044c">&#9670;&#160;</a></span>sink_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classbeast_1_1Journal_1_1Sink.html">beast::Journal::Sink</a>&amp; beast::WrappedSink::sink_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="WrappedSink_8h_source.html#l00017">17</a> of file <a class="el" href="WrappedSink_8h_source.html">WrappedSink.h</a>.</p>
</div>
</div>
<a id="a9e32f65246f374d45c7aa3cae98b8b74" name="a9e32f65246f374d45c7aa3cae98b8b74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e32f65246f374d45c7aa3cae98b8b74">&#9670;&#160;</a></span>prefix_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" href="http://en.cppreference.com/w/cpp/string/basic_string.html">std::string</a> beast::WrappedSink::prefix_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="WrappedSink_8h_source.html#l00018">18</a> of file <a class="el" href="WrappedSink_8h_source.html">WrappedSink.h</a>.</p>
</div>
</div>
<a id="a4901ba08ac3271fdb8fbe42607dd19f4" name="a4901ba08ac3271fdb8fbe42607dd19f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4901ba08ac3271fdb8fbe42607dd19f4">&#9670;&#160;</a></span>thresh_</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Severity beast::Journal::Sink::thresh_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Journal_8h_source.html#l00108">108</a> of file <a class="el" href="Journal_8h_source.html">Journal.h</a>.</p>
</div>
</div>
<a id="a114504ebaf3303bbfb5a507a1133639c" name="a114504ebaf3303bbfb5a507a1133639c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a114504ebaf3303bbfb5a507a1133639c">&#9670;&#160;</a></span>m_console</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool beast::Journal::Sink::m_console</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span><span class="mlabel">inherited</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p class="definition">Definition at line <a class="el" href="Journal_8h_source.html#l00109">109</a> of file <a class="el" href="Journal_8h_source.html">Journal.h</a>.</p>
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>