123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499 |
- <!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.10"/>
- <title>CoffeePi: logger.h 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>
- <script type="text/javascript">
- $(document).ready(function() { init_search(); });
- </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">CoffeePi
- </div>
- <div id="projectbrief">Coffee machine control for Raspberry Pi</div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <!-- end header part -->
- <!-- Generated by Doxygen 1.8.10 -->
- <script type="text/javascript">
- var searchBox = new SearchBox("searchBox", "search",false,'Search');
- </script>
- <div id="navrow1" class="tabs">
- <ul class="tablist">
- <li><a href="index.html"><span>Main Page</span></a></li>
- <li><a href="annotated.html"><span>Data Structures</span></a></li>
- <li class="current"><a href="files.html"><span>Files</span></a></li>
- <li>
- <div id="MSearchBox" class="MSearchBoxInactive">
- <span class="left">
- <img id="MSearchSelect" src="search/mag_sel.png"
- onmouseover="return searchBox.OnSearchSelectShow()"
- onmouseout="return searchBox.OnSearchSelectHide()"
- alt=""/>
- <input type="text" id="MSearchField" value="Search" accesskey="S"
- onfocus="searchBox.OnSearchFieldFocus(true)"
- onblur="searchBox.OnSearchFieldFocus(false)"
- onkeyup="searchBox.OnSearchFieldChange(event)"/>
- </span><span class="right">
- <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
- </span>
- </div>
- </li>
- </ul>
- </div>
- <div id="navrow2" class="tabs2">
- <ul class="tablist">
- <li><a href="files.html"><span>File List</span></a></li>
- <li><a href="globals.html"><span>Globals</span></a></li>
- </ul>
- </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><!-- top -->
- <div class="header">
- <div class="summary">
- <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">logger.h File Reference</div> </div>
- </div><!--header-->
- <div class="contents">
- <p><a href="logger_8h_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="define-members"></a>
- Macros</h2></td></tr>
- <tr class="memitem:acdbdbd1e0c5422f3d1f7aa3960957e0a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#acdbdbd1e0c5422f3d1f7aa3960957e0a">USE_COLORS</a></td></tr>
- <tr class="separator:acdbdbd1e0c5422f3d1f7aa3960957e0a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a137aa83ec74421d226a90c92ec032ac9"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#a137aa83ec74421d226a90c92ec032ac9">KNRM</a>   "\x1B[0m"</td></tr>
- <tr class="separator:a137aa83ec74421d226a90c92ec032ac9"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a66290957baed5df3930ada4cb8caccf1"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#a66290957baed5df3930ada4cb8caccf1">KRED</a>   "\x1B[31m"</td></tr>
- <tr class="separator:a66290957baed5df3930ada4cb8caccf1"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ac081c83b067273757f7a2e54a5957d41"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#ac081c83b067273757f7a2e54a5957d41">KGRN</a>   "\x1B[32m"</td></tr>
- <tr class="separator:ac081c83b067273757f7a2e54a5957d41"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a897b10d246533c95ba86cb79f92e465a"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#a897b10d246533c95ba86cb79f92e465a">KYEL</a>   "\x1B[33m"</td></tr>
- <tr class="separator:a897b10d246533c95ba86cb79f92e465a"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a3f838f2fc3a9a3b434be606fc908964b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#a3f838f2fc3a9a3b434be606fc908964b">KBLU</a>   "\x1B[34m"</td></tr>
- <tr class="separator:a3f838f2fc3a9a3b434be606fc908964b"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a6825f05d3b9d619d91d79d0ef18bb8b2"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#a6825f05d3b9d619d91d79d0ef18bb8b2">KMAG</a>   "\x1B[35m"</td></tr>
- <tr class="separator:a6825f05d3b9d619d91d79d0ef18bb8b2"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a32036c94dbb166a3f874b7efc169841f"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#a32036c94dbb166a3f874b7efc169841f">KCYN</a>   "\x1B[36m"</td></tr>
- <tr class="separator:a32036c94dbb166a3f874b7efc169841f"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:af0036c8022c9980079ab17e5c87fd478"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#af0036c8022c9980079ab17e5c87fd478">KWHT</a>   "\x1B[37m"</td></tr>
- <tr class="separator:af0036c8022c9980079ab17e5c87fd478"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ae39a97a19b2e372929dabdc0e3822910"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#ae39a97a19b2e372929dabdc0e3822910">CLEARLINE</a>   "\x1B[100D\x1B[1A\x1B[K"</td></tr>
- <tr class="separator:ae39a97a19b2e372929dabdc0e3822910"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a815022697da1d2d7744ff178e940078c"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#a815022697da1d2d7744ff178e940078c">KBOLD</a>   "\x1B[1m"</td></tr>
- <tr class="separator:a815022697da1d2d7744ff178e940078c"><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:a60cbc432422370d29ed1b783be884823"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#a60cbc432422370d29ed1b783be884823">logger_type_t</a> { <br />
-   <a class="el" href="logger_8h.html#a60cbc432422370d29ed1b783be884823a6e98ff471e3ce6c4ef2d75c37ee51837">LOG_INFO</a> = 0,
- <a class="el" href="logger_8h.html#a60cbc432422370d29ed1b783be884823a854a22c1c382f9b7a93bf8e556191c5f">LOG_CAN</a> = 1,
- <a class="el" href="logger_8h.html#a60cbc432422370d29ed1b783be884823a746c53b13e16f15d1d885f75efaf58b1">LOG_OK</a> = 2,
- <a class="el" href="logger_8h.html#a60cbc432422370d29ed1b783be884823ac8041ffa22bc823d4726701cdb13fc13">LOG_WARN</a> = 3,
- <br />
-   <a class="el" href="logger_8h.html#a60cbc432422370d29ed1b783be884823a230506cce5c68c3bac5a821c42ed3473">LOG_ERROR</a> = 4,
- <a class="el" href="logger_8h.html#a60cbc432422370d29ed1b783be884823a1ee7c46e5fb6cad577d81e275a4f8218">LOG_ERRORC</a> = 5
- <br />
- }<tr class="separator:a60cbc432422370d29ed1b783be884823"><td class="memSeparator" colspan="2"> </td></tr>
- </td></tr>
- <tr class="memitem:a1cfb4eb1363ea2e4d18f9052a7a98131"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#a1cfb4eb1363ea2e4d18f9052a7a98131">logger_verbose_t</a> { <br />
-   <a class="el" href="logger_8h.html#a1cfb4eb1363ea2e4d18f9052a7a98131afa973d27e66919a26910ccef33a3606a">V_NONE</a> = 0,
- <a class="el" href="logger_8h.html#a1cfb4eb1363ea2e4d18f9052a7a98131a8470d917f387c308f571d2f370c238a3">V_BASIC</a> = 1,
- <a class="el" href="logger_8h.html#a1cfb4eb1363ea2e4d18f9052a7a98131ac26291e5906a8e13146ec8dc56a0869a">V_BREW</a> = 2,
- <a class="el" href="logger_8h.html#a1cfb4eb1363ea2e4d18f9052a7a98131a9a36496e8d624d5ea70b3f86bc2c0bed">V_HAL</a> = 3,
- <br />
-   <a class="el" href="logger_8h.html#a1cfb4eb1363ea2e4d18f9052a7a98131acf3ff5c46ec466c2d7438651b46cc17c">V_SQL</a> = 4,
- <a class="el" href="logger_8h.html#a1cfb4eb1363ea2e4d18f9052a7a98131a6af331195d8ce87720090a3eece459e4">V_STRIPE</a> = 5,
- <a class="el" href="logger_8h.html#a1cfb4eb1363ea2e4d18f9052a7a98131a86acf22e226ebf319ce306ea1af2d95a">V_SPI</a> = 6
- <br />
- }<tr class="separator:a1cfb4eb1363ea2e4d18f9052a7a98131"><td class="memSeparator" colspan="2"> </td></tr>
- </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:ab5a2104bf520b79d590c6ef11cdeeb02"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#ab5a2104bf520b79d590c6ef11cdeeb02">logger_error</a> (const char *format,...)</td></tr>
- <tr class="memdesc:ab5a2104bf520b79d590c6ef11cdeeb02"><td class="mdescLeft"> </td><td class="mdescRight">Outputs the printf like formatted message to stderr and colorizes it. <a href="#ab5a2104bf520b79d590c6ef11cdeeb02">More...</a><br /></td></tr>
- <tr class="separator:ab5a2104bf520b79d590c6ef11cdeeb02"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:abd01f221b7a194e67bb39d88822c9772"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#abd01f221b7a194e67bb39d88822c9772">logger_reset</a> ()</td></tr>
- <tr class="memdesc:abd01f221b7a194e67bb39d88822c9772"><td class="mdescLeft"> </td><td class="mdescRight">Resets the logger to prevent the previous line being overdrawn. <a href="#abd01f221b7a194e67bb39d88822c9772">More...</a><br /></td></tr>
- <tr class="separator:abd01f221b7a194e67bb39d88822c9772"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:a1f2dbdf600d66c1c1bcc820d0282d132"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#a1f2dbdf600d66c1c1bcc820d0282d132">logger</a> (<a class="el" href="logger_8h.html#a1cfb4eb1363ea2e4d18f9052a7a98131">logger_verbose_t</a> verboselevel, <a class="el" href="logger_8h.html#a60cbc432422370d29ed1b783be884823">logger_type_t</a> logtype, const char *format,...)</td></tr>
- <tr class="memdesc:a1f2dbdf600d66c1c1bcc820d0282d132"><td class="mdescLeft"> </td><td class="mdescRight">prints the message to stdout and formats it <a href="#a1f2dbdf600d66c1c1bcc820d0282d132">More...</a><br /></td></tr>
- <tr class="separator:a1f2dbdf600d66c1c1bcc820d0282d132"><td class="memSeparator" colspan="2"> </td></tr>
- <tr class="memitem:ad6ed0024f33524ff5e96b473a18b44fd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="logger_8h.html#ad6ed0024f33524ff5e96b473a18b44fd">logger</a> (<a class="el" href="logger_8h.html#a1cfb4eb1363ea2e4d18f9052a7a98131">logger_verbose_t</a> verboselevel, const char *format,...)</td></tr>
- <tr class="memdesc:ad6ed0024f33524ff5e96b473a18b44fd"><td class="mdescLeft"> </td><td class="mdescRight">prints the message to stdout <a href="#ad6ed0024f33524ff5e96b473a18b44fd">More...</a><br /></td></tr>
- <tr class="separator:ad6ed0024f33524ff5e96b473a18b44fd"><td class="memSeparator" colspan="2"> </td></tr>
- </table>
- <h2 class="groupheader">Macro Definition Documentation</h2>
- <a class="anchor" id="ae39a97a19b2e372929dabdc0e3822910"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define CLEARLINE   "\x1B[100D\x1B[1A\x1B[K"</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="a3f838f2fc3a9a3b434be606fc908964b"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define KBLU   "\x1B[34m"</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="a815022697da1d2d7744ff178e940078c"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define KBOLD   "\x1B[1m"</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="a32036c94dbb166a3f874b7efc169841f"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define KCYN   "\x1B[36m"</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="ac081c83b067273757f7a2e54a5957d41"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define KGRN   "\x1B[32m"</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="a6825f05d3b9d619d91d79d0ef18bb8b2"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define KMAG   "\x1B[35m"</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="a137aa83ec74421d226a90c92ec032ac9"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define KNRM   "\x1B[0m"</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="a66290957baed5df3930ada4cb8caccf1"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define KRED   "\x1B[31m"</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="af0036c8022c9980079ab17e5c87fd478"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define KWHT   "\x1B[37m"</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="a897b10d246533c95ba86cb79f92e465a"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define KYEL   "\x1B[33m"</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <a class="anchor" id="acdbdbd1e0c5422f3d1f7aa3960957e0a"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">#define USE_COLORS</td>
- </tr>
- </table>
- </div><div class="memdoc">
- </div>
- </div>
- <h2 class="groupheader">Enumeration Type Documentation</h2>
- <a class="anchor" id="a60cbc432422370d29ed1b783be884823"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">enum <a class="el" href="logger_8h.html#a60cbc432422370d29ed1b783be884823">logger_type_t</a></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <table class="fieldtable">
- <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a60cbc432422370d29ed1b783be884823a6e98ff471e3ce6c4ef2d75c37ee51837"></a>LOG_INFO </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a60cbc432422370d29ed1b783be884823a854a22c1c382f9b7a93bf8e556191c5f"></a>LOG_CAN </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a60cbc432422370d29ed1b783be884823a746c53b13e16f15d1d885f75efaf58b1"></a>LOG_OK </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a60cbc432422370d29ed1b783be884823ac8041ffa22bc823d4726701cdb13fc13"></a>LOG_WARN </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a60cbc432422370d29ed1b783be884823a230506cce5c68c3bac5a821c42ed3473"></a>LOG_ERROR </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a60cbc432422370d29ed1b783be884823a1ee7c46e5fb6cad577d81e275a4f8218"></a>LOG_ERRORC </td><td class="fielddoc">
- </td></tr>
- </table>
- </div>
- </div>
- <a class="anchor" id="a1cfb4eb1363ea2e4d18f9052a7a98131"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">enum <a class="el" href="logger_8h.html#a1cfb4eb1363ea2e4d18f9052a7a98131">logger_verbose_t</a></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <table class="fieldtable">
- <tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a1cfb4eb1363ea2e4d18f9052a7a98131afa973d27e66919a26910ccef33a3606a"></a>V_NONE </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a1cfb4eb1363ea2e4d18f9052a7a98131a8470d917f387c308f571d2f370c238a3"></a>V_BASIC </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a1cfb4eb1363ea2e4d18f9052a7a98131ac26291e5906a8e13146ec8dc56a0869a"></a>V_BREW </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a1cfb4eb1363ea2e4d18f9052a7a98131a9a36496e8d624d5ea70b3f86bc2c0bed"></a>V_HAL </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a1cfb4eb1363ea2e4d18f9052a7a98131acf3ff5c46ec466c2d7438651b46cc17c"></a>V_SQL </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a1cfb4eb1363ea2e4d18f9052a7a98131a6af331195d8ce87720090a3eece459e4"></a>V_STRIPE </td><td class="fielddoc">
- </td></tr>
- <tr><td class="fieldname"><a class="anchor" id="a1cfb4eb1363ea2e4d18f9052a7a98131a86acf22e226ebf319ce306ea1af2d95a"></a>V_SPI </td><td class="fielddoc">
- </td></tr>
- </table>
- </div>
- </div>
- <h2 class="groupheader">Function Documentation</h2>
- <a class="anchor" id="a1f2dbdf600d66c1c1bcc820d0282d132"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void logger </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="logger_8h.html#a1cfb4eb1363ea2e4d18f9052a7a98131">logger_verbose_t</a> </td>
- <td class="paramname"><em>verboselevel</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"><a class="el" href="logger_8h.html#a60cbc432422370d29ed1b783be884823">logger_type_t</a> </td>
- <td class="paramname"><em>logtype</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const char * </td>
- <td class="paramname"><em>format</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"> </td>
- <td class="paramname"><em>...</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>prints the message to stdout and formats it </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">verboselevel</td><td>minimum verbose level for output </td></tr>
- <tr><td class="paramname">logtype</td><td>type of logmessage for coloring </td></tr>
- <tr><td class="paramname">format</td><td>printf formatted string </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="ad6ed0024f33524ff5e96b473a18b44fd"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void logger </td>
- <td>(</td>
- <td class="paramtype"><a class="el" href="logger_8h.html#a1cfb4eb1363ea2e4d18f9052a7a98131">logger_verbose_t</a> </td>
- <td class="paramname"><em>verboselevel</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype">const char * </td>
- <td class="paramname"><em>format</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"> </td>
- <td class="paramname"><em>...</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>prints the message to stdout </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">verboselevel</td><td>minimum verbose level for output </td></tr>
- <tr><td class="paramname">format</td><td>printf formatted string </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="ab5a2104bf520b79d590c6ef11cdeeb02"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void logger_error </td>
- <td>(</td>
- <td class="paramtype">const char * </td>
- <td class="paramname"><em>format</em>, </td>
- </tr>
- <tr>
- <td class="paramkey"></td>
- <td></td>
- <td class="paramtype"> </td>
- <td class="paramname"><em>...</em> </td>
- </tr>
- <tr>
- <td></td>
- <td>)</td>
- <td></td><td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Outputs the printf like formatted message to stderr and colorizes it. </p>
- <dl class="params"><dt>Parameters</dt><dd>
- <table class="params">
- <tr><td class="paramname">format</td><td>printf formatted string </td></tr>
- </table>
- </dd>
- </dl>
- </div>
- </div>
- <a class="anchor" id="abd01f221b7a194e67bb39d88822c9772"></a>
- <div class="memitem">
- <div class="memproto">
- <table class="memname">
- <tr>
- <td class="memname">void logger_reset </td>
- <td>(</td>
- <td class="paramname"></td><td>)</td>
- <td></td>
- </tr>
- </table>
- </div><div class="memdoc">
- <p>Resets the logger to prevent the previous line being overdrawn. </p>
- <p>Call after custom printf </p>
- </div>
- </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.10
- </small></address>
- </body>
- </html>
|