bump to v0.16
This commit is contained in:
parent
2621e68c20
commit
206fe1ab94
130 changed files with 2196 additions and 1917 deletions
|
|
@ -28,7 +28,7 @@
|
|||
<td id="projectlogo"><img alt="Logo" src="clutchlog_logo.svg"/></td>
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">clutchlog
|
||||
 <span id="projectnumber">0.14</span>
|
||||
 <span id="projectnumber">0.15</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -100,7 +100,7 @@ $(document).ready(function(){initNavTree('classclutchlog.html',''); initResizabl
|
|||
<div class="textblock"><p>The single class which holds everything. </p>
|
||||
<p>This is a Singleton class. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l00177">177</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l00187">187</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
|
||||
</div><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
|
|
@ -201,15 +201,15 @@ std::string </td><td class="memItemRight" valign="bottom"><a class="el" hre
|
|||
std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classclutchlog.html#abd692cca9a2e772e7c9d6531bb3c7761">format</a> (std::string row, const std::string &what, const <a class="el" href="classclutchlog.html#a10fd25a1b51c8c95bd6d876ce1b4b928">level</a> &stage, const std::string &<a class="el" href="classclutchlog.html#a10064493c22f5c03b502a42d814c5c5c">file</a>, const std::string &<a class="el" href="classclutchlog.html#ad32b5a0274dc03ee0004f67ba58b2447">func</a>, const size_t <a class="el" href="classclutchlog.html#aa26c6b81ebaeb9e9daa3457e3a3d17c9">line</a>) const</td></tr>
|
||||
<tr class="memdesc:abd692cca9a2e772e7c9d6531bb3c7761"><td class="mdescLeft"> </td><td class="mdescRight">Substitute all tags in the format string with the corresponding information and apply the style corresponding to the log level. <br /></td></tr>
|
||||
<tr class="separator:abd692cca9a2e772e7c9d6531bb3c7761"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a23dbb98f0d3c5cc21c232cde16cf317a"><td class="memItemLeft" align="right" valign="top"><a id="a23dbb98f0d3c5cc21c232cde16cf317a"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classclutchlog.html#a23dbb98f0d3c5cc21c232cde16cf317a">log</a> (const <a class="el" href="classclutchlog.html#a10fd25a1b51c8c95bd6d876ce1b4b928">level</a> &stage, const std::string &what, const std::string &<a class="el" href="classclutchlog.html#a10064493c22f5c03b502a42d814c5c5c">file</a>, const std::string &<a class="el" href="classclutchlog.html#ad32b5a0274dc03ee0004f67ba58b2447">func</a>, size_t <a class="el" href="classclutchlog.html#aa26c6b81ebaeb9e9daa3457e3a3d17c9">line</a>) const</td></tr>
|
||||
<tr class="memdesc:a23dbb98f0d3c5cc21c232cde16cf317a"><td class="mdescLeft"> </td><td class="mdescRight">Print a log message IF the location matches the given one. <br /></td></tr>
|
||||
<tr class="separator:a23dbb98f0d3c5cc21c232cde16cf317a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a63308e8deae3cfec6801318203494143"><td class="memTemplParams" colspan="2"><a id="a63308e8deae3cfec6801318203494143"></a>
|
||||
<tr class="memitem:a14c19e17c54d6353ba34c0dc3371094a"><td class="memItemLeft" align="right" valign="top"><a id="a14c19e17c54d6353ba34c0dc3371094a"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classclutchlog.html#a14c19e17c54d6353ba34c0dc3371094a">log</a> (const <a class="el" href="classclutchlog.html#a10fd25a1b51c8c95bd6d876ce1b4b928">level</a> &stage, const std::string &what, const std::string &<a class="el" href="classclutchlog.html#a10064493c22f5c03b502a42d814c5c5c">file</a>, const std::string &<a class="el" href="classclutchlog.html#ad32b5a0274dc03ee0004f67ba58b2447">func</a>, const size_t <a class="el" href="classclutchlog.html#aa26c6b81ebaeb9e9daa3457e3a3d17c9">line</a>, const size_t depth_delta=0) const</td></tr>
|
||||
<tr class="memdesc:a14c19e17c54d6353ba34c0dc3371094a"><td class="mdescLeft"> </td><td class="mdescRight">Print a log message IF the location matches the given one. <br /></td></tr>
|
||||
<tr class="separator:a14c19e17c54d6353ba34c0dc3371094a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab72a0adc9ff287270afe09c9da825fdb"><td class="memTemplParams" colspan="2"><a id="ab72a0adc9ff287270afe09c9da825fdb"></a>
|
||||
template<class In > </td></tr>
|
||||
<tr class="memitem:a63308e8deae3cfec6801318203494143"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classclutchlog.html#a63308e8deae3cfec6801318203494143">dump</a> (const <a class="el" href="classclutchlog.html#a10fd25a1b51c8c95bd6d876ce1b4b928">level</a> &stage, const In container_begin, const In container_end, const std::string &<a class="el" href="classclutchlog.html#a10064493c22f5c03b502a42d814c5c5c">file</a>, const std::string &<a class="el" href="classclutchlog.html#ad32b5a0274dc03ee0004f67ba58b2447">func</a>, size_t <a class="el" href="classclutchlog.html#aa26c6b81ebaeb9e9daa3457e3a3d17c9">line</a>, const std::string &filename_template="dump_{n}.dat", const std::string sep=<a class="el" href="classclutchlog.html#af898bffe23b125245e338d7495c76d45">dump_default_sep</a>) const</td></tr>
|
||||
<tr class="memdesc:a63308e8deae3cfec6801318203494143"><td class="mdescLeft"> </td><td class="mdescRight">Dump a serializable container after a comment line with log information. <br /></td></tr>
|
||||
<tr class="separator:a63308e8deae3cfec6801318203494143"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab72a0adc9ff287270afe09c9da825fdb"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classclutchlog.html#ab72a0adc9ff287270afe09c9da825fdb">dump</a> (const <a class="el" href="classclutchlog.html#a10fd25a1b51c8c95bd6d876ce1b4b928">level</a> &stage, const In container_begin, const In container_end, const std::string &<a class="el" href="classclutchlog.html#a10064493c22f5c03b502a42d814c5c5c">file</a>, const std::string &<a class="el" href="classclutchlog.html#ad32b5a0274dc03ee0004f67ba58b2447">func</a>, const size_t <a class="el" href="classclutchlog.html#aa26c6b81ebaeb9e9daa3457e3a3d17c9">line</a>, const std::string &filename_template="dump_{n}.dat", const std::string sep=<a class="el" href="classclutchlog.html#af898bffe23b125245e338d7495c76d45">dump_default_sep</a>) const</td></tr>
|
||||
<tr class="memdesc:ab72a0adc9ff287270afe09c9da825fdb"><td class="mdescLeft"> </td><td class="mdescRight">Dump a serializable container after a comment line with log information. <br /></td></tr>
|
||||
<tr class="separator:ab72a0adc9ff287270afe09c9da825fdb"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a>
|
||||
Static Protected Attributes</h2></td></tr>
|
||||
|
|
@ -369,9 +369,9 @@ void </td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a cla
|
|||
</div><div class="memdoc">
|
||||
|
||||
<p>Get the logger instance. </p>
|
||||
<div class="fragment"><div class="line"><span class="keyword">auto</span>& <a class="code" href="classclutchlog.html#a23dbb98f0d3c5cc21c232cde16cf317a">log</a> = <a class="code" href="classclutchlog.html#acfaceb77da01503b432644a3efaee4fa">clutchlog::logger</a>();</div>
|
||||
<div class="fragment"><div class="line"><span class="keyword">auto</span>& <a class="code" href="classclutchlog.html#a14c19e17c54d6353ba34c0dc3371094a">log</a> = <a class="code" href="classclutchlog.html#acfaceb77da01503b432644a3efaee4fa">clutchlog::logger</a>();</div>
|
||||
</div><!-- fragment -->
|
||||
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l00296">296</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l00306">306</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -403,9 +403,9 @@ void </td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a cla
|
|||
<p>Style will be chosen based on the hash value of the filename among the candidate ones.</p>
|
||||
<p>See the <code>{filehash_fmt}</code> template tag. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l01028">1028</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l01038">1038</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
|
||||
|
||||
<p class="reference">References <a class="el" href="clutchlog_8h_source.html#l00944">_filehash_fmts</a>.</p>
|
||||
<p class="reference">References <a class="el" href="clutchlog_8h_source.html#l00954">_filehash_fmts</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -437,9 +437,9 @@ void </td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a cla
|
|||
<p>Style will be chosen based on the hash value of the filename among the candidate ones.</p>
|
||||
<p>See the <code>{funchash_fmt}</code> template tag. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l01036">1036</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l01046">1046</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
|
||||
|
||||
<p class="reference">References <a class="el" href="clutchlog_8h_source.html#l00946">_funchash_fmts</a>.</p>
|
||||
<p class="reference">References <a class="el" href="clutchlog_8h_source.html#l00956">_funchash_fmts</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -471,7 +471,7 @@ void </td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a cla
|
|||
<p>The given list should be ordered, styles will be applied for the corresponding depth level. If the actual depth is larger than the number of styles, the last one is used.</p>
|
||||
<p>See the <code>{depth_fmt}</code> template tag. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l01045">1045</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l01055">1055</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -502,11 +502,11 @@ void </td><td class="memItemRight" valign="bottom"><b>operator=</b> (<a cla
|
|||
<p>Return the log level tag corresponding to the given pre-configured name. </p>
|
||||
<dl class="section note"><dt>Note</dt><dd>This is case sensitive, see the pre-configured <code>_level_word</code>. </dd></dl>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l01060">1060</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l01070">1070</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
|
||||
|
||||
<p class="reference">References <a class="el" href="clutchlog_8h_source.html#l00907">_word_level</a>.</p>
|
||||
<p class="reference">References <a class="el" href="clutchlog_8h_source.html#l00917">_word_level</a>.</p>
|
||||
|
||||
<p class="reference">Referenced by <a class="el" href="clutchlog_8h_source.html#l01050">threshold()</a>.</p>
|
||||
<p class="reference">Referenced by <a class="el" href="clutchlog_8h_source.html#l01060">threshold()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -549,11 +549,11 @@ template<class ... FMT> </div>
|
|||
<p>Set the style (color and typo) of the given log level. </p>
|
||||
<p>This version accept style arguments as if they were passed to <code><a class="el" href="classclutchlog_1_1fmt.html" title="Color and style formatter for ANSI terminal escape sequences.">clutchlog::fmt</a></code>. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l01094">1094</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l01104">1104</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
|
||||
|
||||
<p class="reference">References <a class="el" href="clutchlog_8h_source.html#l01094">style()</a>.</p>
|
||||
<p class="reference">References <a class="el" href="clutchlog_8h_source.html#l01104">style()</a>.</p>
|
||||
|
||||
<p class="reference">Referenced by <a class="el" href="clutchlog_8h_source.html#l01094">style()</a>.</p>
|
||||
<p class="reference">Referenced by <a class="el" href="clutchlog_8h_source.html#l01104">style()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -598,12 +598,12 @@ template<class ... FMT> </div>
|
|||
</div><div class="memdoc">
|
||||
|
||||
<p>Replace <code>mark</code> by <code>tag</code> in <code>form</code>. </p>
|
||||
<div class="fragment"><div class="line"><a class="code" href="classclutchlog.html#a23dbb98f0d3c5cc21c232cde16cf317a">log</a>.replace(<span class="stringliteral">"{greet} {world}"</span>, <span class="stringliteral">"\\{greet\\}"</span>, <span class="stringliteral">"hello"</span>);</div>
|
||||
<div class="fragment"><div class="line"><a class="code" href="classclutchlog.html#a14c19e17c54d6353ba34c0dc3371094a">log</a>.replace(<span class="stringliteral">"{greet} {world}"</span>, <span class="stringliteral">"\\{greet\\}"</span>, <span class="stringliteral">"hello"</span>);</div>
|
||||
<div class="line"><span class="comment">// returns "hello {world}"</span></div>
|
||||
</div><!-- fragment -->
|
||||
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l01183">1183</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
|
||||
<p class="definition">Definition at line <a class="el" href="clutchlog_8h_source.html#l01193">1193</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
|
||||
|
||||
<p class="reference">Referenced by <a class="el" href="clutchlog_8h_source.html#l01381">dump()</a>, <a class="el" href="clutchlog_8h_source.html#l01259">format()</a>, and <a class="el" href="clutchlog_8h_source.html#l01248">replace()</a>.</p>
|
||||
<p class="reference">Referenced by <a class="el" href="clutchlog_8h_source.html#l01399">dump()</a>, <a class="el" href="clutchlog_8h_source.html#l01269">format()</a>, and <a class="el" href="clutchlog_8h_source.html#l01258">replace()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -612,8 +612,8 @@ template<class ... FMT> </div>
|
|||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<div class="ttc" id="aclassclutchlog_html_a23dbb98f0d3c5cc21c232cde16cf317a"><div class="ttname"><a href="classclutchlog.html#a23dbb98f0d3c5cc21c232cde16cf317a">clutchlog::log</a></div><div class="ttdeci">void log(const level &stage, const std::string &what, const std::string &file, const std::string &func, size_t line) const</div><div class="ttdoc">Print a log message IF the location matches the given one.</div><div class="ttdef"><b>Definition:</b> <a href="clutchlog_8h_source.html#l01356">clutchlog.h:1356</a></div></div>
|
||||
<div class="ttc" id="aclassclutchlog_html_acfaceb77da01503b432644a3efaee4fa"><div class="ttname"><a href="classclutchlog.html#acfaceb77da01503b432644a3efaee4fa">clutchlog::logger</a></div><div class="ttdeci">static clutchlog & logger()</div><div class="ttdoc">Get the logger instance.</div><div class="ttdef"><b>Definition:</b> <a href="clutchlog_8h_source.html#l00296">clutchlog.h:296</a></div></div>
|
||||
<div class="ttc" id="aclassclutchlog_html_acfaceb77da01503b432644a3efaee4fa"><div class="ttname"><a href="classclutchlog.html#acfaceb77da01503b432644a3efaee4fa">clutchlog::logger</a></div><div class="ttdeci">static clutchlog & logger()</div><div class="ttdoc">Get the logger instance.</div><div class="ttdef"><b>Definition:</b> <a href="clutchlog_8h_source.html#l00306">clutchlog.h:306</a></div></div>
|
||||
<div class="ttc" id="aclassclutchlog_html_a14c19e17c54d6353ba34c0dc3371094a"><div class="ttname"><a href="classclutchlog.html#a14c19e17c54d6353ba34c0dc3371094a">clutchlog::log</a></div><div class="ttdeci">void log(const level &stage, const std::string &what, const std::string &file, const std::string &func, const size_t line, const size_t depth_delta=0) const</div><div class="ttdoc">Print a log message IF the location matches the given one.</div><div class="ttdef"><b>Definition:</b> <a href="clutchlog_8h_source.html#l01374">clutchlog.h:1374</a></div></div>
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue