<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>TTTT Analysis: fv::util::Log 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 style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">TTTT Analysis  <span id="projectnumber">0.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.13 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',true,false,'search.php','Search'); $(document).ready(function() { init_search(); }); }); </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"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespacefv.html">fv</a></li><li class="navelem"><b>util</b></li><li class="navelem"><a class="el" href="classfv_1_1util_1_1Log.html">Log</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#pri-attribs">Private Attributes</a> | <a href="#pri-static-attribs">Static Private Attributes</a> | <a href="#friends">Friends</a> | <a href="classfv_1_1util_1_1Log-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">fv::util::Log Class Reference</div> </div> </div><!--header--> <div class="contents"> <div class="dynheader"> Inheritance diagram for fv::util::Log:</div> <div class="dyncontent"> <div class="center"><img src="classfv_1_1util_1_1Log__inherit__graph.png" border="0" usemap="#fv_1_1util_1_1Log_inherit__map" alt="Inheritance graph"/></div> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <div class="dynheader"> Collaboration diagram for fv::util::Log:</div> <div class="dyncontent"> <div class="center"><img src="classfv_1_1util_1_1Log__coll__graph.png" border="0" usemap="#fv_1_1util_1_1Log_coll__map" alt="Collaboration graph"/></div> <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 name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a0e6f9d1a3088e9176d0a48b6eb104132"><td class="memItemLeft" align="right" valign="top"><a id="a0e6f9d1a3088e9176d0a48b6eb104132"></a>  </td><td class="memItemRight" valign="bottom"><b>Log</b> (std::string filename, LogPriority priority)</td></tr> <tr class="separator:a0e6f9d1a3088e9176d0a48b6eb104132"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> Static Public Member Functions</h2></td></tr> <tr class="memitem:a8232233797affe8abc97d4b6e0b3b917"><td class="memItemLeft" align="right" valign="top"><a id="a8232233797affe8abc97d4b6e0b3b917"></a> static <a class="el" href="classfv_1_1util_1_1Log.html">Log</a> & </td><td class="memItemRight" valign="bottom"><b>init_logger</b> (std::string filename, LogPriority priority)</td></tr> <tr class="separator:a8232233797affe8abc97d4b6e0b3b917"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr class="memitem:a133ed49ae8fc4cf3e2d511d0d9e28c94"><td class="memItemLeft" align="right" valign="top"><a id="a133ed49ae8fc4cf3e2d511d0d9e28c94"></a> int </td><td class="memItemRight" valign="bottom"><b>sync</b> ()</td></tr> <tr class="separator:a133ed49ae8fc4cf3e2d511d0d9e28c94"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad871974b451c4c5d6dc9ef40af56c5af"><td class="memItemLeft" align="right" valign="top"><a id="ad871974b451c4c5d6dc9ef40af56c5af"></a> int </td><td class="memItemRight" valign="bottom"><b>overflow</b> (int c)</td></tr> <tr class="separator:ad871974b451c4c5d6dc9ef40af56c5af"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a> Private Attributes</h2></td></tr> <tr class="memitem:a367cd2434a71d3d0c31eca4fa669863f"><td class="memItemLeft" align="right" valign="top"><a id="a367cd2434a71d3d0c31eca4fa669863f"></a> std::string </td><td class="memItemRight" valign="bottom"><b>buffer_</b></td></tr> <tr class="separator:a367cd2434a71d3d0c31eca4fa669863f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a228072e981f6e3061c574bf44123119b"><td class="memItemLeft" align="right" valign="top"><a id="a228072e981f6e3061c574bf44123119b"></a> std::ofstream </td><td class="memItemRight" valign="bottom"><b>logfile</b></td></tr> <tr class="separator:a228072e981f6e3061c574bf44123119b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a82bba61e99e82b3b08eb1db2a266b1e3"><td class="memItemLeft" align="right" valign="top"><a id="a82bba61e99e82b3b08eb1db2a266b1e3"></a> LogPriority </td><td class="memItemRight" valign="bottom"><b>priority_curr</b></td></tr> <tr class="separator:a82bba61e99e82b3b08eb1db2a266b1e3"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a741292d02499b1f9bef04739e0971faa"><td class="memItemLeft" align="right" valign="top"><a id="a741292d02499b1f9bef04739e0971faa"></a> LogPriority </td><td class="memItemRight" valign="bottom"><b>priority_set</b></td></tr> <tr class="separator:a741292d02499b1f9bef04739e0971faa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9fdd4bed5ad2aabb71418e9244fe25fd"><td class="memItemLeft" align="right" valign="top">const std::map< LogPriority, std::string > </td><td class="memItemRight" valign="bottom"><b>name_map</b></td></tr> <tr class="separator:a9fdd4bed5ad2aabb71418e9244fe25fd"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a> Static Private Attributes</h2></td></tr> <tr class="memitem:aa65dbac5964f7d5c2a68308e42912350"><td class="memItemLeft" align="right" valign="top"><a id="aa65dbac5964f7d5c2a68308e42912350"></a> static <a class="el" href="classfv_1_1util_1_1Log.html">Log</a> * </td><td class="memItemRight" valign="bottom"><b>singleton</b> = nullptr</td></tr> <tr class="separator:aa65dbac5964f7d5c2a68308e42912350"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a> Friends</h2></td></tr> <tr class="memitem:a0424ebdae6a085efdf86eef68d4290bb"><td class="memItemLeft" align="right" valign="top"><a id="a0424ebdae6a085efdf86eef68d4290bb"></a> std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1util_1_1Log.html#a0424ebdae6a085efdf86eef68d4290bb">operator<<</a> (std::ostream &os, const LogPriority &log_priority)</td></tr> <tr class="memdesc:a0424ebdae6a085efdf86eef68d4290bb"><td class="mdescLeft"> </td><td class="mdescRight">/see <a href="http://stackoverflow.com/questions/2638654/redirect-c-stdclog-to-syslog-on-unix">http://stackoverflow.com/questions/2638654/redirect-c-stdclog-to-syslog-on-unix</a> <br /></td></tr> <tr class="separator:a0424ebdae6a085efdf86eef68d4290bb"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Member Data Documentation</h2> <a id="a9fdd4bed5ad2aabb71418e9244fe25fd"></a> <h2 class="memtitle"><span class="permalink"><a href="#a9fdd4bed5ad2aabb71418e9244fe25fd">◆ </a></span>name_map</h2> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const std::map<LogPriority,std::string> fv::util::Log::name_map</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">private</span></span> </td> </tr> </table> </div><div class="memdoc"> <b>Initial value:</b><div class="fragment"><div class="line">= {{kLogEmergency, <span class="stringliteral">"EMERGENCY"</span>},</div><div class="line"> {kLogAlert, <span class="stringliteral">"ALERT"</span>},</div><div class="line"> {kLogCritical, <span class="stringliteral">"CRITICAL"</span>},</div><div class="line"> {kLogError, <span class="stringliteral">"ERROR"</span>},</div><div class="line"> {kLogWarning, <span class="stringliteral">"WARNING"</span>},</div><div class="line"> {kLogNotice, <span class="stringliteral">"NOTICE"</span>},</div><div class="line"> {kLogInfo, <span class="stringliteral">"INFO"</span>},</div><div class="line"> {kLogDebug, <span class="stringliteral">"DEBUG"</span>}}</div></div><!-- fragment --> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>/home/caleb/Sources/TTTT/filval/<a class="el" href="log_8hpp_source.html">log.hpp</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> </body> </html>