bump to v0.17
This commit is contained in:
parent
25b8adcae5
commit
fbdbc4ace5
134 changed files with 2032 additions and 1725 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.15</span>
|
||||
 <span id="projectnumber">0.16</span>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -185,6 +185,10 @@ void </td><td class="memItemRight" valign="bottom"><a class="el" href="clas
|
|||
<a class="el" href="classclutchlog_1_1fmt.html">fmt</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classclutchlog.html#a4831f44fd5ade102e57320632095934d">style</a> (<a class="el" href="classclutchlog.html#a10fd25a1b51c8c95bd6d876ce1b4b928">level</a> stage) const</td></tr>
|
||||
<tr class="memdesc:a4831f44fd5ade102e57320632095934d"><td class="mdescLeft"> </td><td class="mdescRight">Get the configured fmt instance of the given log level. <br /></td></tr>
|
||||
<tr class="separator:a4831f44fd5ade102e57320632095934d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a82b9375728af2d962831a743d95f4ae7"><td class="memItemLeft" align="right" valign="top"><a id="a82b9375728af2d962831a743d95f4ae7"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classclutchlog.html#a82b9375728af2d962831a743d95f4ae7">filename</a> (<a class="el" href="classclutchlog.html#a822062ffa857bd16ff488f9c749ff20e">filename</a> f)</td></tr>
|
||||
<tr class="memdesc:a82b9375728af2d962831a743d95f4ae7"><td class="mdescLeft"> </td><td class="mdescRight">Sets the file naming scheme. *‍/. <br /></td></tr>
|
||||
<tr class="separator:a82b9375728af2d962831a743d95f4ae7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr><td colspan="2"><div class="groupHeader">Low-level API</div></td></tr>
|
||||
<tr class="memitem:a4ebdfcded6c56262676bf6926d63fc96"><td class="memItemLeft" align="right" valign="top"><a id="a4ebdfcded6c56262676bf6926d63fc96"></a>
|
||||
<a class="el" href="structclutchlog_1_1scope__t.html">scope_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classclutchlog.html#a4ebdfcded6c56262676bf6926d63fc96">locate</a> (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>
|
||||
|
|
@ -272,6 +276,18 @@ High-level API</h2></td></tr>
|
|||
}</td></tr>
|
||||
<tr class="memdesc:a10fd25a1b51c8c95bd6d876ce1b4b928"><td class="mdescLeft"> </td><td class="mdescRight">Available log levels. <br /></td></tr>
|
||||
<tr class="separator:a10fd25a1b51c8c95bd6d876ce1b4b928"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a822062ffa857bd16ff488f9c749ff20e"><td class="memItemLeft" align="right" valign="top"><a id="a822062ffa857bd16ff488f9c749ff20e"></a>enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classclutchlog.html#a822062ffa857bd16ff488f9c749ff20e">filename</a> { <br />
|
||||
  <b>path</b>,
|
||||
<b>base</b>,
|
||||
<b>dir</b>,
|
||||
<b>dirbase</b>,
|
||||
<br />
|
||||
  <b>stem</b>,
|
||||
<b>dirstem</b>
|
||||
<br />
|
||||
}</td></tr>
|
||||
<tr class="memdesc:a822062ffa857bd16ff488f9c749ff20e"><td class="mdescLeft"> </td><td class="mdescRight">Available filename rendering methods. <br /></td></tr>
|
||||
<tr class="separator:a822062ffa857bd16ff488f9c749ff20e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:acfaceb77da01503b432644a3efaee4fa"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classclutchlog.html">clutchlog</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classclutchlog.html#acfaceb77da01503b432644a3efaee4fa">logger</a> ()</td></tr>
|
||||
<tr class="memdesc:acfaceb77da01503b432644a3efaee4fa"><td class="mdescLeft"> </td><td class="mdescRight">Get the logger instance. <a href="classclutchlog.html#acfaceb77da01503b432644a3efaee4fa">More...</a><br /></td></tr>
|
||||
<tr class="separator:acfaceb77da01503b432644a3efaee4fa"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
|
|
@ -334,6 +350,10 @@ std::vector< <a class="el" href="classclutchlog_1_1fmt.html">fmt</a> >
|
|||
std::vector< <a class="el" href="classclutchlog_1_1fmt.html">fmt</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classclutchlog.html#a095e1545a2085ac623e4af19364fea7f">_funchash_fmts</a></td></tr>
|
||||
<tr class="memdesc:a095e1545a2085ac623e4af19364fea7f"><td class="mdescLeft"> </td><td class="mdescRight">List of candidate format objects for value-dependant function name styling. <br /></td></tr>
|
||||
<tr class="separator:a095e1545a2085ac623e4af19364fea7f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0431616914dbbecb908a794f5b46dada"><td class="memItemLeft" align="right" valign="top"><a id="a0431616914dbbecb908a794f5b46dada"></a>
|
||||
<a class="el" href="classclutchlog.html#a822062ffa857bd16ff488f9c749ff20e">filename</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classclutchlog.html#a0431616914dbbecb908a794f5b46dada">_filename</a></td></tr>
|
||||
<tr class="memdesc:a0431616914dbbecb908a794f5b46dada"><td class="mdescLeft"> </td><td class="mdescRight">Filename rendering method. <br /></td></tr>
|
||||
<tr class="separator:a0431616914dbbecb908a794f5b46dada"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a0906d74275cedcd403da94879764815e"><td class="memItemLeft" align="right" valign="top"><a id="a0906d74275cedcd403da94879764815e"></a>
|
||||
 </td><td class="memItemRight" valign="bottom"><b>clutchlog</b> (<a class="el" href="classclutchlog.html">clutchlog</a> const &)=delete</td></tr>
|
||||
<tr class="separator:a0906d74275cedcd403da94879764815e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
|
|
@ -403,9 +423,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#l01038">1038</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#l01045">1045</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#l00954">_filehash_fmts</a>.</p>
|
||||
<p class="reference">References <a class="el" href="clutchlog_8h_source.html#l00958">_filehash_fmts</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -437,9 +457,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#l01046">1046</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#l01053">1053</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#l00956">_funchash_fmts</a>.</p>
|
||||
<p class="reference">References <a class="el" href="clutchlog_8h_source.html#l00960">_funchash_fmts</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -471,7 +491,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#l01055">1055</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#l01062">1062</a> of file <a class="el" href="clutchlog_8h_source.html">clutchlog.h</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -502,11 +522,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#l01070">1070</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#l01077">1077</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#l00917">_word_level</a>.</p>
|
||||
<p class="reference">References <a class="el" href="clutchlog_8h_source.html#l00921">_word_level</a>.</p>
|
||||
|
||||
<p class="reference">Referenced by <a class="el" href="clutchlog_8h_source.html#l01060">threshold()</a>.</p>
|
||||
<p class="reference">Referenced by <a class="el" href="clutchlog_8h_source.html#l01067">threshold()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -549,11 +569,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#l01104">1104</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#l01111">1111</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#l01104">style()</a>.</p>
|
||||
<p class="reference">References <a class="el" href="clutchlog_8h_source.html#l01111">style()</a>.</p>
|
||||
|
||||
<p class="reference">Referenced by <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#l01111">style()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -601,9 +621,9 @@ template<class ... FMT> </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#l01193">1193</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#l01203">1203</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#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>
|
||||
<p class="reference">Referenced by <a class="el" href="clutchlog_8h_source.html#l01437">dump()</a>, <a class="el" href="clutchlog_8h_source.html#l01279">format()</a>, and <a class="el" href="clutchlog_8h_source.html#l01268">replace()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -613,7 +633,7 @@ template<class ... FMT> </div>
|
|||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<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>
|
||||
<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#l01412">clutchlog.h:1412</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