blob: 55ad84391b8161d95dbba2ec25ff1fb7073c143d [file] [log] [blame]
<!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.11"/>
<title>Apache log4cxx: Logging macros</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="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
$(window).load(resizeHeight);
</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"><a href="http://logging.apache.org/log4cxx">Apache log4cxx</a>
&#160;<span id="projectnumber">Version 0.11.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<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&#160;Page</span></a></li>
<li class="current"><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><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><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
<div id="nav-tree">
<div id="nav-tree-contents">
<div id="nav-sync" class="sync"></div>
</div>
</div>
<div id="splitbar" style="-moz-user-select:none;"
class="ui-resizable-handle">
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group___logging_macros.html','');});
</script>
<div id="doc-content">
<!-- 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 class="header">
<div class="summary">
<a href="#define-members">Macros</a> </div>
<div class="headertitle">
<div class="title">Logging macros</div> </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:gac5e26fe3436dd75332ed99f748918b7a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___logging_macros.html#gac5e26fe3436dd75332ed99f748918b7a">LOG4CXX_UNLIKELY</a>(expr)&#160;&#160;&#160;expr</td></tr>
<tr class="memdesc:gac5e26fe3436dd75332ed99f748918b7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides optimization hint to the compiler to optimize for the expression being false. <a href="#gac5e26fe3436dd75332ed99f748918b7a">More...</a><br /></td></tr>
<tr class="separator:gac5e26fe3436dd75332ed99f748918b7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga13557a4dfa1e87ae893398d800e2171a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___logging_macros.html#ga13557a4dfa1e87ae893398d800e2171a">LOG4CXX_LOG</a>(logger, level, message)</td></tr>
<tr class="memdesc:ga13557a4dfa1e87ae893398d800e2171a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logs a message to a specified logger with a specified level. <a href="#ga13557a4dfa1e87ae893398d800e2171a">More...</a><br /></td></tr>
<tr class="separator:ga13557a4dfa1e87ae893398d800e2171a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf0c56ecb6dd14e76107317ce85e7ae92"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___logging_macros.html#gaf0c56ecb6dd14e76107317ce85e7ae92">LOG4CXX_LOGLS</a>(logger, level, message)</td></tr>
<tr class="memdesc:gaf0c56ecb6dd14e76107317ce85e7ae92"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logs a message to a specified logger with a specified level. <a href="#gaf0c56ecb6dd14e76107317ce85e7ae92">More...</a><br /></td></tr>
<tr class="separator:gaf0c56ecb6dd14e76107317ce85e7ae92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae1bc2ab20d5f2d7660995ea8244d3a26"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___logging_macros.html#gae1bc2ab20d5f2d7660995ea8244d3a26">LOG4CXX_DEBUG</a>(logger, message)</td></tr>
<tr class="memdesc:gae1bc2ab20d5f2d7660995ea8244d3a26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logs a message to a specified logger with the DEBUG level. <a href="#gae1bc2ab20d5f2d7660995ea8244d3a26">More...</a><br /></td></tr>
<tr class="separator:gae1bc2ab20d5f2d7660995ea8244d3a26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga806900dd7eafb458d0472d9c8f84594b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___logging_macros.html#ga806900dd7eafb458d0472d9c8f84594b">LOG4CXX_TRACE</a>(logger, message)</td></tr>
<tr class="memdesc:ga806900dd7eafb458d0472d9c8f84594b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logs a message to a specified logger with the TRACE level. <a href="#ga806900dd7eafb458d0472d9c8f84594b">More...</a><br /></td></tr>
<tr class="separator:ga806900dd7eafb458d0472d9c8f84594b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga61dfed4f5eca82725a90a331f37857d3"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___logging_macros.html#ga61dfed4f5eca82725a90a331f37857d3">LOG4CXX_INFO</a>(logger, message)</td></tr>
<tr class="memdesc:ga61dfed4f5eca82725a90a331f37857d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logs a message to a specified logger with the INFO level. <a href="#ga61dfed4f5eca82725a90a331f37857d3">More...</a><br /></td></tr>
<tr class="separator:ga61dfed4f5eca82725a90a331f37857d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga530190bc1766b89d1f69ad572509aed2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___logging_macros.html#ga530190bc1766b89d1f69ad572509aed2">LOG4CXX_WARN</a>(logger, message)</td></tr>
<tr class="memdesc:ga530190bc1766b89d1f69ad572509aed2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logs a message to a specified logger with the WARN level. <a href="#ga530190bc1766b89d1f69ad572509aed2">More...</a><br /></td></tr>
<tr class="separator:ga530190bc1766b89d1f69ad572509aed2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa2dd8d775aa30be2d9a51df615918b50"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___logging_macros.html#gaa2dd8d775aa30be2d9a51df615918b50">LOG4CXX_ERROR</a>(logger, message)</td></tr>
<tr class="memdesc:gaa2dd8d775aa30be2d9a51df615918b50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logs a message to a specified logger with the ERROR level. <a href="#gaa2dd8d775aa30be2d9a51df615918b50">More...</a><br /></td></tr>
<tr class="separator:gaa2dd8d775aa30be2d9a51df615918b50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1aff240314ce7e27034be68f6591745d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___logging_macros.html#ga1aff240314ce7e27034be68f6591745d">LOG4CXX_ASSERT</a>(logger, condition, message)</td></tr>
<tr class="memdesc:ga1aff240314ce7e27034be68f6591745d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logs a error if the condition is not true. <a href="#ga1aff240314ce7e27034be68f6591745d">More...</a><br /></td></tr>
<tr class="separator:ga1aff240314ce7e27034be68f6591745d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7aca8ae1ffa1cf893f1e8f362c53fc01"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___logging_macros.html#ga7aca8ae1ffa1cf893f1e8f362c53fc01">LOG4CXX_FATAL</a>(logger, message)</td></tr>
<tr class="memdesc:ga7aca8ae1ffa1cf893f1e8f362c53fc01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logs a message to a specified logger with the FATAL level. <a href="#ga7aca8ae1ffa1cf893f1e8f362c53fc01">More...</a><br /></td></tr>
<tr class="separator:ga7aca8ae1ffa1cf893f1e8f362c53fc01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga63d440667d6a71382119cb60de924245"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___logging_macros.html#ga63d440667d6a71382119cb60de924245">LOG4CXX_L7DLOG</a>(logger, level, key)</td></tr>
<tr class="memdesc:ga63d440667d6a71382119cb60de924245"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logs a localized message with no parameter. <a href="#ga63d440667d6a71382119cb60de924245">More...</a><br /></td></tr>
<tr class="separator:ga63d440667d6a71382119cb60de924245"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9536127974b613d5411cdfaee117c3ef"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___logging_macros.html#ga9536127974b613d5411cdfaee117c3ef">LOG4CXX_L7DLOG1</a>(logger, level, key, p1)</td></tr>
<tr class="memdesc:ga9536127974b613d5411cdfaee117c3ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logs a localized message with one parameter. <a href="#ga9536127974b613d5411cdfaee117c3ef">More...</a><br /></td></tr>
<tr class="separator:ga9536127974b613d5411cdfaee117c3ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gafe923e6c519eb1b2f9694b5d42d64f97"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___logging_macros.html#gafe923e6c519eb1b2f9694b5d42d64f97">LOG4CXX_L7DLOG2</a>(logger, level, key, p1, p2)</td></tr>
<tr class="memdesc:gafe923e6c519eb1b2f9694b5d42d64f97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logs a localized message with two parameters. <a href="#gafe923e6c519eb1b2f9694b5d42d64f97">More...</a><br /></td></tr>
<tr class="separator:gafe923e6c519eb1b2f9694b5d42d64f97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga325a73a18c32d1aaf399805566e0b3e2"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___logging_macros.html#ga325a73a18c32d1aaf399805566e0b3e2">LOG4CXX_L7DLOG3</a>(logger, level, key, p1, p2, p3)</td></tr>
<tr class="memdesc:ga325a73a18c32d1aaf399805566e0b3e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Logs a localized message with three parameters. <a href="#ga325a73a18c32d1aaf399805566e0b3e2">More...</a><br /></td></tr>
<tr class="separator:ga325a73a18c32d1aaf399805566e0b3e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="ga1aff240314ce7e27034be68f6591745d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LOG4CXX_ASSERT</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">logger, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">condition, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">message&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div><div class="line"> if (!(condition) &amp;&amp; logger-&gt;isErrorEnabled()) {\</div><div class="line"> <a class="code" href="classlog4cxx_1_1helpers_1_1_message_buffer.html">::log4cxx::helpers::MessageBuffer</a> oss_; \</div><div class="line"> logger-&gt;forcedLog(::<a class="code" href="classlog4cxx_1_1_level.html#a4d2a795d910922cdd15eb723ee2c6c40">log4cxx::Level::getError</a>(), oss_.<a class="code" href="classlog4cxx_1_1helpers_1_1_message_buffer.html#a7e3b4b234ef506be5c51f099d892e01d">str</a>(oss_ &lt;&lt; message), <a class="code" href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a>); }} <span class="keywordflow">while</span> (0)</div><div class="ttc" id="locationinfo_8h_html_addb632a87b7bbddd3574e772dca97da1"><div class="ttname"><a href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a></div><div class="ttdeci">#define LOG4CXX_LOCATION</div><div class="ttdef"><b>Definition:</b> locationinfo.h:135</div></div>
<div class="ttc" id="classlog4cxx_1_1helpers_1_1_message_buffer_html_a7e3b4b234ef506be5c51f099d892e01d"><div class="ttname"><a href="classlog4cxx_1_1helpers_1_1_message_buffer.html#a7e3b4b234ef506be5c51f099d892e01d">log4cxx::helpers::MessageBuffer::str</a></div><div class="ttdeci">const std::string &amp; str(CharMessageBuffer &amp;buf)</div><div class="ttdoc">Get content of buffer. </div></div>
<div class="ttc" id="classlog4cxx_1_1_level_html_a4d2a795d910922cdd15eb723ee2c6c40"><div class="ttname"><a href="classlog4cxx_1_1_level.html#a4d2a795d910922cdd15eb723ee2c6c40">log4cxx::Level::getError</a></div><div class="ttdeci">static LevelPtr getError()</div></div>
<div class="ttc" id="classlog4cxx_1_1helpers_1_1_message_buffer_html"><div class="ttname"><a href="classlog4cxx_1_1helpers_1_1_message_buffer.html">log4cxx::helpers::MessageBuffer</a></div><div class="ttdoc">This class is used by the LOG4CXX_INFO and similar macros to support insertion operators in the messa...</div><div class="ttdef"><b>Definition:</b> messagebuffer.h:552</div></div>
</div><!-- fragment -->
<p>Logs a error if the condition is not true. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">logger</td><td>the logger to be used. </td></tr>
<tr><td class="paramname">condition</td><td>condition </td></tr>
<tr><td class="paramname">message</td><td>the message string to log. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gae1bc2ab20d5f2d7660995ea8244d3a26"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LOG4CXX_DEBUG</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">logger, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">message&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div><div class="line"> if (<a class="code" href="group___logging_macros.html#gac5e26fe3436dd75332ed99f748918b7a">LOG4CXX_UNLIKELY</a>(logger-&gt;isDebugEnabled())) {\</div><div class="line"> <a class="code" href="classlog4cxx_1_1helpers_1_1_message_buffer.html">::log4cxx::helpers::MessageBuffer</a> oss_; \</div><div class="line"> logger-&gt;forcedLog(::<a class="code" href="classlog4cxx_1_1_level.html#a373897c7ba1fb9a1175818296e61ae59">log4cxx::Level::getDebug</a>(), oss_.<a class="code" href="classlog4cxx_1_1helpers_1_1_message_buffer.html#a7e3b4b234ef506be5c51f099d892e01d">str</a>(oss_ &lt;&lt; message), <a class="code" href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a>); }} <span class="keywordflow">while</span> (0)</div><div class="ttc" id="classlog4cxx_1_1_level_html_a373897c7ba1fb9a1175818296e61ae59"><div class="ttname"><a href="classlog4cxx_1_1_level.html#a373897c7ba1fb9a1175818296e61ae59">log4cxx::Level::getDebug</a></div><div class="ttdeci">static LevelPtr getDebug()</div></div>
<div class="ttc" id="locationinfo_8h_html_addb632a87b7bbddd3574e772dca97da1"><div class="ttname"><a href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a></div><div class="ttdeci">#define LOG4CXX_LOCATION</div><div class="ttdef"><b>Definition:</b> locationinfo.h:135</div></div>
<div class="ttc" id="classlog4cxx_1_1helpers_1_1_message_buffer_html_a7e3b4b234ef506be5c51f099d892e01d"><div class="ttname"><a href="classlog4cxx_1_1helpers_1_1_message_buffer.html#a7e3b4b234ef506be5c51f099d892e01d">log4cxx::helpers::MessageBuffer::str</a></div><div class="ttdeci">const std::string &amp; str(CharMessageBuffer &amp;buf)</div><div class="ttdoc">Get content of buffer. </div></div>
<div class="ttc" id="group___logging_macros_html_gac5e26fe3436dd75332ed99f748918b7a"><div class="ttname"><a href="group___logging_macros.html#gac5e26fe3436dd75332ed99f748918b7a">LOG4CXX_UNLIKELY</a></div><div class="ttdeci">#define LOG4CXX_UNLIKELY(expr)</div><div class="ttdoc">Provides optimization hint to the compiler to optimize for the expression being false. </div><div class="ttdef"><b>Definition:</b> logger.h:1758</div></div>
<div class="ttc" id="classlog4cxx_1_1helpers_1_1_message_buffer_html"><div class="ttname"><a href="classlog4cxx_1_1helpers_1_1_message_buffer.html">log4cxx::helpers::MessageBuffer</a></div><div class="ttdoc">This class is used by the LOG4CXX_INFO and similar macros to support insertion operators in the messa...</div><div class="ttdef"><b>Definition:</b> messagebuffer.h:552</div></div>
</div><!-- fragment -->
<p>Logs a message to a specified logger with the DEBUG level. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">logger</td><td>the logger to be used. </td></tr>
<tr><td class="paramname">message</td><td>the message string to log. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gaa2dd8d775aa30be2d9a51df615918b50"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LOG4CXX_ERROR</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">logger, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">message&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div><div class="line"> if (logger-&gt;isErrorEnabled()) {\</div><div class="line"> <a class="code" href="classlog4cxx_1_1helpers_1_1_message_buffer.html">::log4cxx::helpers::MessageBuffer</a> oss_; \</div><div class="line"> logger-&gt;forcedLog(::<a class="code" href="classlog4cxx_1_1_level.html#a4d2a795d910922cdd15eb723ee2c6c40">log4cxx::Level::getError</a>(), oss_.<a class="code" href="classlog4cxx_1_1helpers_1_1_message_buffer.html#a7e3b4b234ef506be5c51f099d892e01d">str</a>(oss_ &lt;&lt; message), <a class="code" href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a>); }} <span class="keywordflow">while</span> (0)</div><div class="ttc" id="locationinfo_8h_html_addb632a87b7bbddd3574e772dca97da1"><div class="ttname"><a href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a></div><div class="ttdeci">#define LOG4CXX_LOCATION</div><div class="ttdef"><b>Definition:</b> locationinfo.h:135</div></div>
<div class="ttc" id="classlog4cxx_1_1helpers_1_1_message_buffer_html_a7e3b4b234ef506be5c51f099d892e01d"><div class="ttname"><a href="classlog4cxx_1_1helpers_1_1_message_buffer.html#a7e3b4b234ef506be5c51f099d892e01d">log4cxx::helpers::MessageBuffer::str</a></div><div class="ttdeci">const std::string &amp; str(CharMessageBuffer &amp;buf)</div><div class="ttdoc">Get content of buffer. </div></div>
<div class="ttc" id="classlog4cxx_1_1_level_html_a4d2a795d910922cdd15eb723ee2c6c40"><div class="ttname"><a href="classlog4cxx_1_1_level.html#a4d2a795d910922cdd15eb723ee2c6c40">log4cxx::Level::getError</a></div><div class="ttdeci">static LevelPtr getError()</div></div>
<div class="ttc" id="classlog4cxx_1_1helpers_1_1_message_buffer_html"><div class="ttname"><a href="classlog4cxx_1_1helpers_1_1_message_buffer.html">log4cxx::helpers::MessageBuffer</a></div><div class="ttdoc">This class is used by the LOG4CXX_INFO and similar macros to support insertion operators in the messa...</div><div class="ttdef"><b>Definition:</b> messagebuffer.h:552</div></div>
</div><!-- fragment -->
<p>Logs a message to a specified logger with the ERROR level. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">logger</td><td>the logger to be used. </td></tr>
<tr><td class="paramname">message</td><td>the message string to log. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga7aca8ae1ffa1cf893f1e8f362c53fc01"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LOG4CXX_FATAL</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">logger, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">message&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div><div class="line"> if (logger-&gt;isFatalEnabled()) {\</div><div class="line"> <a class="code" href="classlog4cxx_1_1helpers_1_1_message_buffer.html">::log4cxx::helpers::MessageBuffer</a> oss_; \</div><div class="line"> logger-&gt;forcedLog(::<a class="code" href="classlog4cxx_1_1_level.html#a572ddf7cc93f6801952e98b1e1782457">log4cxx::Level::getFatal</a>(), oss_.<a class="code" href="classlog4cxx_1_1helpers_1_1_message_buffer.html#a7e3b4b234ef506be5c51f099d892e01d">str</a>(oss_ &lt;&lt; message), <a class="code" href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a>); }} <span class="keywordflow">while</span> (0)</div><div class="ttc" id="locationinfo_8h_html_addb632a87b7bbddd3574e772dca97da1"><div class="ttname"><a href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a></div><div class="ttdeci">#define LOG4CXX_LOCATION</div><div class="ttdef"><b>Definition:</b> locationinfo.h:135</div></div>
<div class="ttc" id="classlog4cxx_1_1helpers_1_1_message_buffer_html_a7e3b4b234ef506be5c51f099d892e01d"><div class="ttname"><a href="classlog4cxx_1_1helpers_1_1_message_buffer.html#a7e3b4b234ef506be5c51f099d892e01d">log4cxx::helpers::MessageBuffer::str</a></div><div class="ttdeci">const std::string &amp; str(CharMessageBuffer &amp;buf)</div><div class="ttdoc">Get content of buffer. </div></div>
<div class="ttc" id="classlog4cxx_1_1helpers_1_1_message_buffer_html"><div class="ttname"><a href="classlog4cxx_1_1helpers_1_1_message_buffer.html">log4cxx::helpers::MessageBuffer</a></div><div class="ttdoc">This class is used by the LOG4CXX_INFO and similar macros to support insertion operators in the messa...</div><div class="ttdef"><b>Definition:</b> messagebuffer.h:552</div></div>
<div class="ttc" id="classlog4cxx_1_1_level_html_a572ddf7cc93f6801952e98b1e1782457"><div class="ttname"><a href="classlog4cxx_1_1_level.html#a572ddf7cc93f6801952e98b1e1782457">log4cxx::Level::getFatal</a></div><div class="ttdeci">static LevelPtr getFatal()</div></div>
</div><!-- fragment -->
<p>Logs a message to a specified logger with the FATAL level. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">logger</td><td>the logger to be used. </td></tr>
<tr><td class="paramname">message</td><td>the message string to log. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga61dfed4f5eca82725a90a331f37857d3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LOG4CXX_INFO</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">logger, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">message&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div><div class="line"> if (logger-&gt;isInfoEnabled()) {\</div><div class="line"> <a class="code" href="classlog4cxx_1_1helpers_1_1_message_buffer.html">::log4cxx::helpers::MessageBuffer</a> oss_; \</div><div class="line"> logger-&gt;forcedLog(::<a class="code" href="classlog4cxx_1_1_level.html#ace4af58d03fa8ff488fe76717f280c03">log4cxx::Level::getInfo</a>(), oss_.<a class="code" href="classlog4cxx_1_1helpers_1_1_message_buffer.html#a7e3b4b234ef506be5c51f099d892e01d">str</a>(oss_ &lt;&lt; message), <a class="code" href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a>); }} <span class="keywordflow">while</span> (0)</div><div class="ttc" id="locationinfo_8h_html_addb632a87b7bbddd3574e772dca97da1"><div class="ttname"><a href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a></div><div class="ttdeci">#define LOG4CXX_LOCATION</div><div class="ttdef"><b>Definition:</b> locationinfo.h:135</div></div>
<div class="ttc" id="classlog4cxx_1_1helpers_1_1_message_buffer_html_a7e3b4b234ef506be5c51f099d892e01d"><div class="ttname"><a href="classlog4cxx_1_1helpers_1_1_message_buffer.html#a7e3b4b234ef506be5c51f099d892e01d">log4cxx::helpers::MessageBuffer::str</a></div><div class="ttdeci">const std::string &amp; str(CharMessageBuffer &amp;buf)</div><div class="ttdoc">Get content of buffer. </div></div>
<div class="ttc" id="classlog4cxx_1_1_level_html_ace4af58d03fa8ff488fe76717f280c03"><div class="ttname"><a href="classlog4cxx_1_1_level.html#ace4af58d03fa8ff488fe76717f280c03">log4cxx::Level::getInfo</a></div><div class="ttdeci">static LevelPtr getInfo()</div></div>
<div class="ttc" id="classlog4cxx_1_1helpers_1_1_message_buffer_html"><div class="ttname"><a href="classlog4cxx_1_1helpers_1_1_message_buffer.html">log4cxx::helpers::MessageBuffer</a></div><div class="ttdoc">This class is used by the LOG4CXX_INFO and similar macros to support insertion operators in the messa...</div><div class="ttdef"><b>Definition:</b> messagebuffer.h:552</div></div>
</div><!-- fragment -->
<p>Logs a message to a specified logger with the INFO level. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">logger</td><td>the logger to be used. </td></tr>
<tr><td class="paramname">message</td><td>the message string to log. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga63d440667d6a71382119cb60de924245"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LOG4CXX_L7DLOG</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">logger, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">level, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">key&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div><div class="line"> if (logger-&gt;isEnabledFor(level)) {\</div><div class="line"> logger-&gt;l7dlog(level, key, <a class="code" href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a>); }} <span class="keywordflow">while</span> (0)</div><div class="ttc" id="locationinfo_8h_html_addb632a87b7bbddd3574e772dca97da1"><div class="ttname"><a href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a></div><div class="ttdeci">#define LOG4CXX_LOCATION</div><div class="ttdef"><b>Definition:</b> locationinfo.h:135</div></div>
</div><!-- fragment -->
<p>Logs a localized message with no parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">logger</td><td>the logger to be used. </td></tr>
<tr><td class="paramname">level</td><td>the level to log. </td></tr>
<tr><td class="paramname">key</td><td>the key to be searched in the resourceBundle of the logger. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga9536127974b613d5411cdfaee117c3ef"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LOG4CXX_L7DLOG1</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">logger, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">level, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">key, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">p1&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div><div class="line"> if (logger-&gt;isEnabledFor(level)) {\</div><div class="line"> logger-&gt;l7dlog(level, key, <a class="code" href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a>, p1); }} <span class="keywordflow">while</span> (0)</div><div class="ttc" id="locationinfo_8h_html_addb632a87b7bbddd3574e772dca97da1"><div class="ttname"><a href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a></div><div class="ttdeci">#define LOG4CXX_LOCATION</div><div class="ttdef"><b>Definition:</b> locationinfo.h:135</div></div>
</div><!-- fragment -->
<p>Logs a localized message with one parameter. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">logger</td><td>the logger to be used. </td></tr>
<tr><td class="paramname">level</td><td>the level to log. </td></tr>
<tr><td class="paramname">key</td><td>the key to be searched in the resourceBundle of the logger. </td></tr>
<tr><td class="paramname">p1</td><td>the unique parameter. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gafe923e6c519eb1b2f9694b5d42d64f97"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LOG4CXX_L7DLOG2</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">logger, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">level, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">key, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">p1, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">p2&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div><div class="line"> if (logger-&gt;isEnabledFor(level)) {\</div><div class="line"> logger-&gt;l7dlog(level, key, <a class="code" href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a>, p1, p2); }} <span class="keywordflow">while</span> (0)</div><div class="ttc" id="locationinfo_8h_html_addb632a87b7bbddd3574e772dca97da1"><div class="ttname"><a href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a></div><div class="ttdeci">#define LOG4CXX_LOCATION</div><div class="ttdef"><b>Definition:</b> locationinfo.h:135</div></div>
</div><!-- fragment -->
<p>Logs a localized message with two parameters. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">logger</td><td>the logger to be used. </td></tr>
<tr><td class="paramname">level</td><td>the level to log. </td></tr>
<tr><td class="paramname">key</td><td>the key to be searched in the resourceBundle of the logger. </td></tr>
<tr><td class="paramname">p1</td><td>the first parameter. </td></tr>
<tr><td class="paramname">p2</td><td>the second parameter. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga325a73a18c32d1aaf399805566e0b3e2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LOG4CXX_L7DLOG3</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">logger, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">level, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">key, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">p1, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">p2, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">p3&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div><div class="line"> if (logger-&gt;isEnabledFor(level)) {\</div><div class="line"> logger-&gt;l7dlog(level, key, <a class="code" href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a>, p1, p2, p3); }} <span class="keywordflow">while</span> (0)</div><div class="ttc" id="locationinfo_8h_html_addb632a87b7bbddd3574e772dca97da1"><div class="ttname"><a href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a></div><div class="ttdeci">#define LOG4CXX_LOCATION</div><div class="ttdef"><b>Definition:</b> locationinfo.h:135</div></div>
</div><!-- fragment -->
<p>Logs a localized message with three parameters. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">logger</td><td>the logger to be used. </td></tr>
<tr><td class="paramname">level</td><td>the level to log. </td></tr>
<tr><td class="paramname">key</td><td>the key to be searched in the resourceBundle of the logger. </td></tr>
<tr><td class="paramname">p1</td><td>the first parameter. </td></tr>
<tr><td class="paramname">p2</td><td>the second parameter. </td></tr>
<tr><td class="paramname">p3</td><td>the third parameter. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga13557a4dfa1e87ae893398d800e2171a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LOG4CXX_LOG</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">logger, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">level, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">message&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div><div class="line"> if (logger-&gt;isEnabledFor(level)) {\</div><div class="line"> <a class="code" href="classlog4cxx_1_1helpers_1_1_message_buffer.html">::log4cxx::helpers::MessageBuffer</a> oss_; \</div><div class="line"> logger-&gt;forcedLog(level, oss_.<a class="code" href="classlog4cxx_1_1helpers_1_1_message_buffer.html#a7e3b4b234ef506be5c51f099d892e01d">str</a>(oss_ &lt;&lt; message), <a class="code" href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a>); }} <span class="keywordflow">while</span> (0)</div><div class="ttc" id="locationinfo_8h_html_addb632a87b7bbddd3574e772dca97da1"><div class="ttname"><a href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a></div><div class="ttdeci">#define LOG4CXX_LOCATION</div><div class="ttdef"><b>Definition:</b> locationinfo.h:135</div></div>
<div class="ttc" id="classlog4cxx_1_1helpers_1_1_message_buffer_html_a7e3b4b234ef506be5c51f099d892e01d"><div class="ttname"><a href="classlog4cxx_1_1helpers_1_1_message_buffer.html#a7e3b4b234ef506be5c51f099d892e01d">log4cxx::helpers::MessageBuffer::str</a></div><div class="ttdeci">const std::string &amp; str(CharMessageBuffer &amp;buf)</div><div class="ttdoc">Get content of buffer. </div></div>
<div class="ttc" id="classlog4cxx_1_1helpers_1_1_message_buffer_html"><div class="ttname"><a href="classlog4cxx_1_1helpers_1_1_message_buffer.html">log4cxx::helpers::MessageBuffer</a></div><div class="ttdoc">This class is used by the LOG4CXX_INFO and similar macros to support insertion operators in the messa...</div><div class="ttdef"><b>Definition:</b> messagebuffer.h:552</div></div>
</div><!-- fragment -->
<p>Logs a message to a specified logger with a specified level. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">logger</td><td>the logger to be used. </td></tr>
<tr><td class="paramname">level</td><td>the level to log. </td></tr>
<tr><td class="paramname">message</td><td>the message string to log. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gaf0c56ecb6dd14e76107317ce85e7ae92"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LOG4CXX_LOGLS</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">logger, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">level, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">message&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div><div class="line"> if (logger-&gt;isEnabledFor(level)) {\</div><div class="line"> ::log4cxx::helpers::LogCharMessageBuffer oss_; \</div><div class="line"> logger-&gt;forcedLog(level, oss_.str(oss_ &lt;&lt; message), <a class="code" href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a>); }} <span class="keywordflow">while</span> (0)</div><div class="ttc" id="locationinfo_8h_html_addb632a87b7bbddd3574e772dca97da1"><div class="ttname"><a href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a></div><div class="ttdeci">#define LOG4CXX_LOCATION</div><div class="ttdef"><b>Definition:</b> locationinfo.h:135</div></div>
</div><!-- fragment -->
<p>Logs a message to a specified logger with a specified level. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">logger</td><td>the logger to be used. </td></tr>
<tr><td class="paramname">level</td><td>the level to log. </td></tr>
<tr><td class="paramname">message</td><td>the message string to log in the internal encoding. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ga806900dd7eafb458d0472d9c8f84594b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LOG4CXX_TRACE</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">logger, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">message&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div><div class="line"> if (<a class="code" href="group___logging_macros.html#gac5e26fe3436dd75332ed99f748918b7a">LOG4CXX_UNLIKELY</a>(logger-&gt;isTraceEnabled())) {\</div><div class="line"> <a class="code" href="classlog4cxx_1_1helpers_1_1_message_buffer.html">::log4cxx::helpers::MessageBuffer</a> oss_; \</div><div class="line"> logger-&gt;forcedLog(::<a class="code" href="classlog4cxx_1_1_level.html#af83cb2164456d203bafd7393a1b02bd5">log4cxx::Level::getTrace</a>(), oss_.<a class="code" href="classlog4cxx_1_1helpers_1_1_message_buffer.html#a7e3b4b234ef506be5c51f099d892e01d">str</a>(oss_ &lt;&lt; message), <a class="code" href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a>); }} <span class="keywordflow">while</span> (0)</div><div class="ttc" id="locationinfo_8h_html_addb632a87b7bbddd3574e772dca97da1"><div class="ttname"><a href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a></div><div class="ttdeci">#define LOG4CXX_LOCATION</div><div class="ttdef"><b>Definition:</b> locationinfo.h:135</div></div>
<div class="ttc" id="classlog4cxx_1_1helpers_1_1_message_buffer_html_a7e3b4b234ef506be5c51f099d892e01d"><div class="ttname"><a href="classlog4cxx_1_1helpers_1_1_message_buffer.html#a7e3b4b234ef506be5c51f099d892e01d">log4cxx::helpers::MessageBuffer::str</a></div><div class="ttdeci">const std::string &amp; str(CharMessageBuffer &amp;buf)</div><div class="ttdoc">Get content of buffer. </div></div>
<div class="ttc" id="classlog4cxx_1_1_level_html_af83cb2164456d203bafd7393a1b02bd5"><div class="ttname"><a href="classlog4cxx_1_1_level.html#af83cb2164456d203bafd7393a1b02bd5">log4cxx::Level::getTrace</a></div><div class="ttdeci">static LevelPtr getTrace()</div></div>
<div class="ttc" id="group___logging_macros_html_gac5e26fe3436dd75332ed99f748918b7a"><div class="ttname"><a href="group___logging_macros.html#gac5e26fe3436dd75332ed99f748918b7a">LOG4CXX_UNLIKELY</a></div><div class="ttdeci">#define LOG4CXX_UNLIKELY(expr)</div><div class="ttdoc">Provides optimization hint to the compiler to optimize for the expression being false. </div><div class="ttdef"><b>Definition:</b> logger.h:1758</div></div>
<div class="ttc" id="classlog4cxx_1_1helpers_1_1_message_buffer_html"><div class="ttname"><a href="classlog4cxx_1_1helpers_1_1_message_buffer.html">log4cxx::helpers::MessageBuffer</a></div><div class="ttdoc">This class is used by the LOG4CXX_INFO and similar macros to support insertion operators in the messa...</div><div class="ttdef"><b>Definition:</b> messagebuffer.h:552</div></div>
</div><!-- fragment -->
<p>Logs a message to a specified logger with the TRACE level. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">logger</td><td>the logger to be used. </td></tr>
<tr><td class="paramname">message</td><td>the message string to log. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="gac5e26fe3436dd75332ed99f748918b7a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LOG4CXX_UNLIKELY</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">expr</td><td>)</td>
<td>&#160;&#160;&#160;expr</td>
</tr>
</table>
</div><div class="memdoc">
<p>Provides optimization hint to the compiler to optimize for the expression being false. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">expr</td><td>boolean expression. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>value of expression. </dd></dl>
</div>
</div>
<a class="anchor" id="ga530190bc1766b89d1f69ad572509aed2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">#define LOG4CXX_WARN</td>
<td>(</td>
<td class="paramtype">&#160;</td>
<td class="paramname">logger, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">&#160;</td>
<td class="paramname">message&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<b>Value:</b><div class="fragment"><div class="line"><span class="keywordflow">do</span> { \</div><div class="line"> if (logger-&gt;isWarnEnabled()) {\</div><div class="line"> <a class="code" href="classlog4cxx_1_1helpers_1_1_message_buffer.html">::log4cxx::helpers::MessageBuffer</a> oss_; \</div><div class="line"> logger-&gt;forcedLog(::<a class="code" href="classlog4cxx_1_1_level.html#a0625269c155ffaa270657c83824dd6bf">log4cxx::Level::getWarn</a>(), oss_.<a class="code" href="classlog4cxx_1_1helpers_1_1_message_buffer.html#a7e3b4b234ef506be5c51f099d892e01d">str</a>(oss_ &lt;&lt; message), <a class="code" href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a>); }} <span class="keywordflow">while</span> (0)</div><div class="ttc" id="locationinfo_8h_html_addb632a87b7bbddd3574e772dca97da1"><div class="ttname"><a href="locationinfo_8h.html#addb632a87b7bbddd3574e772dca97da1">LOG4CXX_LOCATION</a></div><div class="ttdeci">#define LOG4CXX_LOCATION</div><div class="ttdef"><b>Definition:</b> locationinfo.h:135</div></div>
<div class="ttc" id="classlog4cxx_1_1helpers_1_1_message_buffer_html_a7e3b4b234ef506be5c51f099d892e01d"><div class="ttname"><a href="classlog4cxx_1_1helpers_1_1_message_buffer.html#a7e3b4b234ef506be5c51f099d892e01d">log4cxx::helpers::MessageBuffer::str</a></div><div class="ttdeci">const std::string &amp; str(CharMessageBuffer &amp;buf)</div><div class="ttdoc">Get content of buffer. </div></div>
<div class="ttc" id="classlog4cxx_1_1_level_html_a0625269c155ffaa270657c83824dd6bf"><div class="ttname"><a href="classlog4cxx_1_1_level.html#a0625269c155ffaa270657c83824dd6bf">log4cxx::Level::getWarn</a></div><div class="ttdeci">static LevelPtr getWarn()</div></div>
<div class="ttc" id="classlog4cxx_1_1helpers_1_1_message_buffer_html"><div class="ttname"><a href="classlog4cxx_1_1helpers_1_1_message_buffer.html">log4cxx::helpers::MessageBuffer</a></div><div class="ttdoc">This class is used by the LOG4CXX_INFO and similar macros to support insertion operators in the messa...</div><div class="ttdef"><b>Definition:</b> messagebuffer.h:552</div></div>
</div><!-- fragment -->
<p>Logs a message to a specified logger with the WARN level. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">logger</td><td>the logger to be used. </td></tr>
<tr><td class="paramname">message</td><td>the message string to log. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
</body>
</html>