<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>rlog: RLogMacros</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.4.3 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> <h1>RLogMacros</h1><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__RLogMacros.html#ga0">rDebug</a>() _rMessage( LOGID, rlog::_RLDebugChannel, ##__VA_ARGS__ )</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Log a message to the "debug" channel. Takes printf style arguments. <a href="#ga0"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__RLogMacros.html#ga1">rInfo</a>() _rMessage( LOGID, rlog::_RLInfoChannel, ##__VA_ARGS__ )</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Log a message to the "debug" channel. Takes printf style arguments. <a href="#ga1"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__RLogMacros.html#ga2">rWarning</a>() _rMessage( LOGID, rlog::_RLWarningChannel, ##__VA_ARGS__ )</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Log a message to the "warning" channel. Takes printf style arguments. <a href="#ga2"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__RLogMacros.html#ga3">rError</a>() _rMessage( LOGID, rlog::_RLErrorChannel, ##__VA_ARGS__ )</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Log a message to the "error" channel. Takes printf style arguments. <a href="#ga3"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__RLogMacros.html#ga4">rLog</a>(channel,) _rMessage( LOGID, channel, ##__VA_ARGS__ )</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Log a message to a user defined channel. Takes a channel and printf style arguments. <a href="#ga4"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__RLogMacros.html#ga5">rDebug</a>() _rMessage( LOGID, rlog::_RLDebugChannel, ##__VA_ARGS__ )</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Log a message to the "debug" channel. Takes printf style arguments. <a href="#ga5"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__RLogMacros.html#ga6">rInfo</a>() _rMessage( LOGID, rlog::_RLInfoChannel, ##__VA_ARGS__ )</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Log a message to the "debug" channel. Takes printf style arguments. <a href="#ga6"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__RLogMacros.html#ga7">rWarning</a>() _rMessage( LOGID, rlog::_RLWarningChannel, ##__VA_ARGS__ )</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Log a message to the "warning" channel. Takes printf style arguments. <a href="#ga7"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__RLogMacros.html#ga8">rError</a>() _rMessage( LOGID, rlog::_RLErrorChannel, ##__VA_ARGS__ )</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Log a message to the "error" channel. Takes printf style arguments. <a href="#ga8"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__RLogMacros.html#ga9">rLog</a>(channel,) _rMessage( LOGID, channel, ##__VA_ARGS__ )</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Log a message to a user defined channel. Takes a channel and printf style arguments. <a href="#ga9"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__RLogMacros.html#ga10">rDebug</a>() _rMessage( LOGID, rlog::_RLDebugChannel, ##__VA_ARGS__ )</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Log a message to the "debug" channel. Takes printf style arguments. <a href="#ga10"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__RLogMacros.html#ga11">rInfo</a>() _rMessage( LOGID, rlog::_RLInfoChannel, ##__VA_ARGS__ )</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Log a message to the "debug" channel. Takes printf style arguments. <a href="#ga11"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__RLogMacros.html#ga12">rWarning</a>() _rMessage( LOGID, rlog::_RLWarningChannel, ##__VA_ARGS__ )</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Log a message to the "warning" channel. Takes printf style arguments. <a href="#ga12"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__RLogMacros.html#ga13">rError</a>() _rMessage( LOGID, rlog::_RLErrorChannel, ##__VA_ARGS__ )</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Log a message to the "error" channel. Takes printf style arguments. <a href="#ga13"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="group__RLogMacros.html#ga14">rLog</a>(channel,) _rMessage( LOGID, channel, ##__VA_ARGS__ )</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Log a message to a user defined channel. Takes a channel and printf style arguments. <a href="#ga14"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> These macros are the primary interface for logging messages:<ul> <li>rDebug(format, ...)</li><li>rInfo(format, ...)</li><li>rWarning(format, ...)</li><li>rError(format, ...)</li><li>rLog(channel, format, ...)</li><li>rAssert( condition )</li></ul> <p> These macros are the primary interface for logging messages:<ul> <li>rDebug(format, ...)</li><li>rInfo(format, ...)</li><li>rWarning(format, ...)</li><li>rError(format, ...)</li><li>rLog(channel, format, ...)</li><li>rAssert( condition )</li></ul> <p> These macros are the primary interface for logging messages:<ul> <li>rDebug(format, ...)</li><li>rInfo(format, ...)</li><li>rWarning(format, ...)</li><li>rError(format, ...)</li><li>rLog(channel, format, ...)</li><li>rAssert( condition )</li></ul> <hr><h2>Define Documentation</h2> <a class="anchor" name="ga10"></a><!-- doxytag: member=<rlog-1.3.7/rlog/rlog-c99.h::rDebug> ref=<ga10> args=<()> --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define rDebug </td> <td class="md" valign="top">( </td> </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> _rMessage( LOGID, rlog::_RLDebugChannel, ##__VA_ARGS__ )</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Log a message to the "debug" channel. Takes printf style arguments. <p> Format is ala printf, eg: <div class="fragment"><pre class="fragment"> <a class="code" href="group__RLogMacros.html#ga0">rDebug</a>(<span class="stringliteral">"I'm sorry %s, I can't do %s"</span>, name, request); </pre></div><p> When using a recent GNU compiler, it should automatically detect format string / argument mismatch just like it would with printf.<p> Note that unless there are subscribers to this message, it will do nothing. </td> </tr> </table> <a class="anchor" name="ga5"></a><!-- doxytag: member=<rlog/rlog-c99.h::rDebug> ref=<ga5> args=<()> --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define rDebug </td> <td class="md" valign="top">( </td> </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> _rMessage( LOGID, rlog::_RLDebugChannel, ##__VA_ARGS__ )</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Log a message to the "debug" channel. Takes printf style arguments. <p> Format is ala printf, eg: <div class="fragment"><pre class="fragment"> <a class="code" href="group__RLogMacros.html#ga0">rDebug</a>(<span class="stringliteral">"I'm sorry %s, I can't do %s"</span>, name, request); </pre></div><p> When using a recent GNU compiler, it should automatically detect format string / argument mismatch just like it would with printf.<p> Note that unless there are subscribers to this message, it will do nothing. </td> </tr> </table> <a class="anchor" name="ga0"></a><!-- doxytag: member=<_darcs/current/rlog/rlog-c99.h::rDebug> ref=<ga0> args=<()> --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define rDebug </td> <td class="md" valign="top">( </td> </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> _rMessage( LOGID, rlog::_RLDebugChannel, ##__VA_ARGS__ )</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Log a message to the "debug" channel. Takes printf style arguments. <p> Format is ala printf, eg: <div class="fragment"><pre class="fragment"> <a class="code" href="group__RLogMacros.html#ga0">rDebug</a>(<span class="stringliteral">"I'm sorry %s, I can't do %s"</span>, name, request); </pre></div><p> When using a recent GNU compiler, it should automatically detect format string / argument mismatch just like it would with printf.<p> Note that unless there are subscribers to this message, it will do nothing. </td> </tr> </table> <a class="anchor" name="ga13"></a><!-- doxytag: member=<rlog-1.3.7/rlog/rlog-c99.h::rError> ref=<ga13> args=<()> --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define rError </td> <td class="md" valign="top">( </td> </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> _rMessage( LOGID, rlog::_RLErrorChannel, ##__VA_ARGS__ )</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Log a message to the "error" channel. Takes printf style arguments. <p> An error indicates that something has definately gone wrong.<p> Format is ala printf, eg: <div class="fragment"><pre class="fragment"> <a class="code" href="group__RLogMacros.html#ga3">rError</a>(<span class="stringliteral">"bad input %s, aborting request"</span>, input); </pre></div><p> When using a recent GNU compiler, it should automatically detect format string / argument mismatch just like it would with printf.<p> Note that unless there are subscribers to this message, it will do nothing. </td> </tr> </table> <a class="anchor" name="ga8"></a><!-- doxytag: member=<rlog/rlog-c99.h::rError> ref=<ga8> args=<()> --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define rError </td> <td class="md" valign="top">( </td> </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> _rMessage( LOGID, rlog::_RLErrorChannel, ##__VA_ARGS__ )</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Log a message to the "error" channel. Takes printf style arguments. <p> An error indicates that something has definately gone wrong.<p> Format is ala printf, eg: <div class="fragment"><pre class="fragment"> <a class="code" href="group__RLogMacros.html#ga3">rError</a>(<span class="stringliteral">"bad input %s, aborting request"</span>, input); </pre></div><p> When using a recent GNU compiler, it should automatically detect format string / argument mismatch just like it would with printf.<p> Note that unless there are subscribers to this message, it will do nothing. </td> </tr> </table> <a class="anchor" name="ga3"></a><!-- doxytag: member=<_darcs/current/rlog/rlog-c99.h::rError> ref=<ga3> args=<()> --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define rError </td> <td class="md" valign="top">( </td> </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> _rMessage( LOGID, rlog::_RLErrorChannel, ##__VA_ARGS__ )</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Log a message to the "error" channel. Takes printf style arguments. <p> An error indicates that something has definately gone wrong.<p> Format is ala printf, eg: <div class="fragment"><pre class="fragment"> <a class="code" href="group__RLogMacros.html#ga3">rError</a>(<span class="stringliteral">"bad input %s, aborting request"</span>, input); </pre></div><p> When using a recent GNU compiler, it should automatically detect format string / argument mismatch just like it would with printf.<p> Note that unless there are subscribers to this message, it will do nothing. </td> </tr> </table> <a class="anchor" name="ga11"></a><!-- doxytag: member=<rlog-1.3.7/rlog/rlog-c99.h::rInfo> ref=<ga11> args=<()> --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define rInfo </td> <td class="md" valign="top">( </td> </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> _rMessage( LOGID, rlog::_RLInfoChannel, ##__VA_ARGS__ )</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Log a message to the "debug" channel. Takes printf style arguments. <p> Format is ala printf, eg: <div class="fragment"><pre class="fragment"> <a class="code" href="group__RLogMacros.html#ga1">rInfo</a>(<span class="stringliteral">"I'm sorry %s, I can't do %s"</span>, name, request); </pre></div><p> When using a recent GNU compiler, it should automatically detect format string / argument mismatch just like it would with printf.<p> Note that unless there are subscribers to this message, it will do nothing. </td> </tr> </table> <a class="anchor" name="ga6"></a><!-- doxytag: member=<rlog/rlog-c99.h::rInfo> ref=<ga6> args=<()> --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define rInfo </td> <td class="md" valign="top">( </td> </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> _rMessage( LOGID, rlog::_RLInfoChannel, ##__VA_ARGS__ )</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Log a message to the "debug" channel. Takes printf style arguments. <p> Format is ala printf, eg: <div class="fragment"><pre class="fragment"> <a class="code" href="group__RLogMacros.html#ga1">rInfo</a>(<span class="stringliteral">"I'm sorry %s, I can't do %s"</span>, name, request); </pre></div><p> When using a recent GNU compiler, it should automatically detect format string / argument mismatch just like it would with printf.<p> Note that unless there are subscribers to this message, it will do nothing. </td> </tr> </table> <a class="anchor" name="ga1"></a><!-- doxytag: member=<_darcs/current/rlog/rlog-c99.h::rInfo> ref=<ga1> args=<()> --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define rInfo </td> <td class="md" valign="top">( </td> </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> _rMessage( LOGID, rlog::_RLInfoChannel, ##__VA_ARGS__ )</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Log a message to the "debug" channel. Takes printf style arguments. <p> Format is ala printf, eg: <div class="fragment"><pre class="fragment"> <a class="code" href="group__RLogMacros.html#ga1">rInfo</a>(<span class="stringliteral">"I'm sorry %s, I can't do %s"</span>, name, request); </pre></div><p> When using a recent GNU compiler, it should automatically detect format string / argument mismatch just like it would with printf.<p> Note that unless there are subscribers to this message, it will do nothing. </td> </tr> </table> <a class="anchor" name="ga14"></a><!-- doxytag: member=<rlog-1.3.7/rlog/rlog-c99.h::rLog> ref=<ga14> args=<(channel,)> --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define rLog </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">channel </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> _rMessage( LOGID, channel, ##__VA_ARGS__ )</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Log a message to a user defined channel. Takes a channel and printf style arguments. <p> An error indicates that something has definately gone wrong.<p> Format is ala printf, eg: <div class="fragment"><pre class="fragment"> <span class="keyword">static</span> RLogChannel * MyChannel = RLOG_CHANNEL( <span class="stringliteral">"debug/mine"</span> ); <a class="code" href="group__RLogMacros.html#ga4">rLog</a>(MyChannel, <span class="stringliteral">"happy happy, joy joy"</span>); </pre></div><p> When using a recent GNU compiler, it should automatically detect format string / argument mismatch just like it would with printf.<p> Note that unless there are subscribers to this message, it will do nothing. </td> </tr> </table> <a class="anchor" name="ga9"></a><!-- doxytag: member=<rlog/rlog-c99.h::rLog> ref=<ga9> args=<(channel,)> --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define rLog </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">channel </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> _rMessage( LOGID, channel, ##__VA_ARGS__ )</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Log a message to a user defined channel. Takes a channel and printf style arguments. <p> An error indicates that something has definately gone wrong.<p> Format is ala printf, eg: <div class="fragment"><pre class="fragment"> <span class="keyword">static</span> RLogChannel * MyChannel = RLOG_CHANNEL( <span class="stringliteral">"debug/mine"</span> ); <a class="code" href="group__RLogMacros.html#ga4">rLog</a>(MyChannel, <span class="stringliteral">"happy happy, joy joy"</span>); </pre></div><p> When using a recent GNU compiler, it should automatically detect format string / argument mismatch just like it would with printf.<p> Note that unless there are subscribers to this message, it will do nothing. </td> </tr> </table> <a class="anchor" name="ga4"></a><!-- doxytag: member=<_darcs/current/rlog/rlog-c99.h::rLog> ref=<ga4> args=<(channel,)> --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define rLog </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">channel </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> _rMessage( LOGID, channel, ##__VA_ARGS__ )</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Log a message to a user defined channel. Takes a channel and printf style arguments. <p> An error indicates that something has definately gone wrong.<p> Format is ala printf, eg: <div class="fragment"><pre class="fragment"> <span class="keyword">static</span> RLogChannel * MyChannel = RLOG_CHANNEL( <span class="stringliteral">"debug/mine"</span> ); <a class="code" href="group__RLogMacros.html#ga4">rLog</a>(MyChannel, <span class="stringliteral">"happy happy, joy joy"</span>); </pre></div><p> When using a recent GNU compiler, it should automatically detect format string / argument mismatch just like it would with printf.<p> Note that unless there are subscribers to this message, it will do nothing. </td> </tr> </table> <a class="anchor" name="ga12"></a><!-- doxytag: member=<rlog-1.3.7/rlog/rlog-c99.h::rWarning> ref=<ga12> args=<()> --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define rWarning </td> <td class="md" valign="top">( </td> </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> _rMessage( LOGID, rlog::_RLWarningChannel, ##__VA_ARGS__ )</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Log a message to the "warning" channel. Takes printf style arguments. <p> Output a warning message - meant to indicate that something doesn't seem right.<p> Format is ala printf, eg: <div class="fragment"><pre class="fragment"> <a class="code" href="group__RLogMacros.html#ga2">rWarning</a>(<span class="stringliteral">"passed %i, expected %i, continuing"</span>, foo, bar); </pre></div><p> When using a recent GNU compiler, it should automatically detect format string / argument mismatch just like it would with printf.<p> Note that unless there are subscribers to this message, it will do nothing. </td> </tr> </table> <a class="anchor" name="ga7"></a><!-- doxytag: member=<rlog/rlog-c99.h::rWarning> ref=<ga7> args=<()> --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define rWarning </td> <td class="md" valign="top">( </td> </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> _rMessage( LOGID, rlog::_RLWarningChannel, ##__VA_ARGS__ )</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Log a message to the "warning" channel. Takes printf style arguments. <p> Output a warning message - meant to indicate that something doesn't seem right.<p> Format is ala printf, eg: <div class="fragment"><pre class="fragment"> <a class="code" href="group__RLogMacros.html#ga2">rWarning</a>(<span class="stringliteral">"passed %i, expected %i, continuing"</span>, foo, bar); </pre></div><p> When using a recent GNU compiler, it should automatically detect format string / argument mismatch just like it would with printf.<p> Note that unless there are subscribers to this message, it will do nothing. </td> </tr> </table> <a class="anchor" name="ga2"></a><!-- doxytag: member=<_darcs/current/rlog/rlog-c99.h::rWarning> ref=<ga2> args=<()> --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">#define rWarning </td> <td class="md" valign="top">( </td> </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> _rMessage( LOGID, rlog::_RLWarningChannel, ##__VA_ARGS__ )</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Log a message to the "warning" channel. Takes printf style arguments. <p> Output a warning message - meant to indicate that something doesn't seem right.<p> Format is ala printf, eg: <div class="fragment"><pre class="fragment"> <a class="code" href="group__RLogMacros.html#ga2">rWarning</a>(<span class="stringliteral">"passed %i, expected %i, continuing"</span>, foo, bar); </pre></div><p> When using a recent GNU compiler, it should automatically detect format string / argument mismatch just like it would with printf.<p> Note that unless there are subscribers to this message, it will do nothing. </td> </tr> </table> <hr size="1"><address style="align: right;"><small>Generated on Wed Oct 5 11:13:40 2005 for rlog by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.3 </small></address> </body> </html>