123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170 |
- <!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.12"/>
- <meta name="viewport" content="width=device-width, initial-scale=1"/>
- <title>TTTT Analysis: /home/caleb/Sources/TTTT/filval/log.hpp File 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.12 -->
- <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="dir_b2e1228fdb7fe80fc606210a4045f658.html">filval</a></li> </ul>
- </div>
- </div><!-- top -->
- <div class="header">
- <div class="summary">
- <a href="#nested-classes">Classes</a> |
- <a href="#define-members">Macros</a> |
- <a href="#enum-members">Enumerations</a> |
- <a href="#func-members">Functions</a> </div>
- <div class="headertitle">
- <div class="title">log.hpp File Reference</div> </div>
- </div><!--header-->
- <div class="contents">
- <div class="textblock"><code>#include <iostream></code><br />
- <code>#include <fstream></code><br />
- <code>#include <cstring></code><br />
- <code>#include <map></code><br />
- </div><div class="textblock"><div class="dynheader">
- Include dependency graph for log.hpp:</div>
- <div class="dyncontent">
- <div class="center"><img src="log_8hpp__incl.png" border="0" usemap="#_2home_2caleb_2Sources_2TTTT_2filval_2log_8hpp" alt=""/></div>
- <map name="_2home_2caleb_2Sources_2TTTT_2filval_2log_8hpp" id="_2home_2caleb_2Sources_2TTTT_2filval_2log_8hpp">
- </map>
- </div>
- </div><div class="textblock"><div class="dynheader">
- This graph shows which files directly or indirectly include this file:</div>
- <div class="dyncontent">
- <div class="center"><img src="log_8hpp__dep__incl.png" border="0" usemap="#_2home_2caleb_2Sources_2TTTT_2filval_2log_8hppdep" alt=""/></div>
- <map name="_2home_2caleb_2Sources_2TTTT_2filval_2log_8hppdep" id="_2home_2caleb_2Sources_2TTTT_2filval_2log_8hppdep">
- <area shape="rect" id="node2" href="value_8hpp.html" title="/home/caleb/Sources\l/TTTT/filval/value.hpp" alt="" coords="152,95,315,136"/>
- <area shape="rect" id="node4" href="dataset_8hpp_source.html" title="/home/caleb/Sources\l/TTTT/filval/dataset.hpp" alt="" coords="195,363,370,404"/>
- <area shape="rect" id="node5" href="filval_8hpp_source.html" title="/home/caleb/Sources\l/TTTT/filval/filval.hpp" alt="" coords="78,452,237,493"/>
- <area shape="rect" id="node3" href="container_8hpp_source.html" title="/home/caleb/Sources\l/TTTT/filval/container.hpp" alt="" coords="83,273,269,315"/>
- <area shape="rect" id="node8" href="filter_8hpp.html" title="/home/caleb/Sources\l/TTTT/filval/filter.hpp" alt="" coords="39,184,196,225"/>
- <area shape="rect" id="node6" href="root_2container_8hpp_source.html" title="/home/caleb/Sources\l/TTTT/filval_root/container.hpp" alt="" coords="48,541,267,583"/>
- <area shape="rect" id="node7" href="filval__root_8hpp_source.html" title="/home/caleb/Sources\l/TTTT/filval_root/filval\l_root.hpp" alt="" coords="76,631,239,687"/>
- </map>
- </div>
- </div>
- <p><a href="log_8hpp_source.html">Go to the source code of this file.</a></p>
- <table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
- Classes</h2></td></tr>
- <tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classfv_1_1util_1_1Log.html">fv::util::Log</a></td></tr>
- <tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
- Macros</h2></td></tr>
- <tr class="memitem:a7a89bb1dceae2baa9e85735a7cf17283"><td class="memItemLeft" align="right" valign="top"><a id="a7a89bb1dceae2baa9e85735a7cf17283"></a>
- #define </td><td class="memItemRight" valign="bottom"><b>CRITICAL</b>(x, y)   std::clog << fv::util::LogPriority::kLogCritical << __FILE__ << "@L" << __LINE__ << " :: " << x << std::flush; std::cout << "Errors encountered! See log file for details."<<std::endl;exit(y)</td></tr>
- <tr class="separator:a7a89bb1dceae2baa9e85735a7cf17283"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abac57baaff13f3a1ddbb0c8a193b7e32"><td class="memItemLeft" align="right" valign="top"><a id="abac57baaff13f3a1ddbb0c8a193b7e32"></a>
- #define </td><td class="memItemRight" valign="bottom"><b>ERROR</b>(x)   std::clog << fv::util::LogPriority::kLogError << __FILE__ << "@L" << __LINE__ << " :: " << x << std::flush</td></tr>
- <tr class="separator:abac57baaff13f3a1ddbb0c8a193b7e32"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a9e1796fdadec0df60e8d280ee783b85c"><td class="memItemLeft" align="right" valign="top"><a id="a9e1796fdadec0df60e8d280ee783b85c"></a>
- #define </td><td class="memItemRight" valign="bottom"><b>WARNING</b>(x)   std::clog << fv::util::LogPriority::kLogWarning << x << std::flush</td></tr>
- <tr class="separator:a9e1796fdadec0df60e8d280ee783b85c"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ab7e64333eba48090f444ec9f36fd23ef"><td class="memItemLeft" align="right" valign="top"><a id="ab7e64333eba48090f444ec9f36fd23ef"></a>
- #define </td><td class="memItemRight" valign="bottom"><b>INFO</b>(x)   std::clog << fv::util::LogPriority::kLogInfo << x << std::flush</td></tr>
- <tr class="separator:ab7e64333eba48090f444ec9f36fd23ef"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3dfa58b1c5c2943dd49d8aa1981d377d"><td class="memItemLeft" align="right" valign="top"><a id="a3dfa58b1c5c2943dd49d8aa1981d377d"></a>
- #define </td><td class="memItemRight" valign="bottom"><b>DEBUG</b>(x)   std::clog << fv::util::LogPriority::kLogDebug << __FILE__ << "@L" << __LINE__ << " :: " << x << std::flush</td></tr>
- <tr class="separator:a3dfa58b1c5c2943dd49d8aa1981d377d"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
- Enumerations</h2></td></tr>
- <tr class="memitem:a4c2fda989ccd3be6c64516d243794851"><td class="memItemLeft" align="right" valign="top"><a id="a4c2fda989ccd3be6c64516d243794851"></a>enum  </td><td class="memItemRight" valign="bottom"><b>LogPriority</b> { <br />
-   <b>kLogEmergency</b> = 7,
- <b>kLogAlert</b> = 6,
- <b>kLogCritical</b> = 5,
- <b>kLogError</b> = 4,
- <br />
-   <b>kLogWarning</b> = 3,
- <b>kLogNotice</b> = 2,
- <b>kLogInfo</b> = 1,
- <b>kLogDebug</b> = 0
- <br />
- }</td></tr>
- <tr class="separator:a4c2fda989ccd3be6c64516d243794851"><td class="memSeparator" colspan="2"> </td></tr>
- </table><table class="memberdecls">
- <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
- Functions</h2></td></tr>
- <tr class="memitem:ae6c229c0c5644bff37cf4cfd01e1e107"><td class="memItemLeft" align="right" valign="top"><a id="ae6c229c0c5644bff37cf4cfd01e1e107"></a>
- std::ostream & </td><td class="memItemRight" valign="bottom"><a class="el" href="log_8hpp.html#ae6c229c0c5644bff37cf4cfd01e1e107">fv::util::operator<<</a> (std::ostream &os, const LogPriority &log_priority)</td></tr>
- <tr class="memdesc:ae6c229c0c5644bff37cf4cfd01e1e107"><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:ae6c229c0c5644bff37cf4cfd01e1e107"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
- <div class="textblock"><dl class="section author"><dt>Author</dt><dd>Caleb Fangmeier <a href="#" onclick="location.href='mai'+'lto:'+'cal'+'eb'+'@fa'+'ng'+'mei'+'er'+'.te'+'ch'; return false;">caleb<span style="display: none;">.nosp@m.</span>@fan<span style="display: none;">.nosp@m.</span>gmeie<span style="display: none;">.nosp@m.</span>r.te<span style="display: none;">.nosp@m.</span>ch</a> </dd></dl>
- <dl class="section version"><dt>Version</dt><dd>0.1</dd></dl>
- <h1><a class="anchor" id="LICENSE"></a>
- LICENSE</h1>
- <p>MIT License</p>
- <p>Copyright (c) 2017 Caleb Fangmeier</p>
- <p>Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</p>
- <p>The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</p>
- <p>THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</p>
- <h1><a class="anchor" id="DESCRIPTION"></a>
- DESCRIPTION</h1>
- </div></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.12
- </small></address>
- </body>
- </html>
|