blob: ec771f382a5903e986a5bc3be594b72d5243a5b6 [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: LoggingEvent Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="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><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><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 id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></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('classlog4cxx_1_1spi_1_1_logging_event.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="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="classlog4cxx_1_1spi_1_1_logging_event-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">LoggingEvent Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>The internal representation of logging events.
<a href="classlog4cxx_1_1spi_1_1_logging_event.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for LoggingEvent:</div>
<div class="dyncontent">
<div class="center">
<img src="classlog4cxx_1_1spi_1_1_logging_event.png" usemap="#LoggingEvent_map" alt=""/>
<map id="LoggingEvent_map" name="LoggingEvent_map">
<area href="classlog4cxx_1_1helpers_1_1_object_impl.html" title="Implementation class for Object. " alt="ObjectImpl" shape="rect" coords="0,56,89,80"/>
<area href="classlog4cxx_1_1helpers_1_1_object.html" title="base class for java-like objects. " alt="Object" shape="rect" coords="0,0,89,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a47ab24d4ad28968e1c23986410fba190"><td class="memItemLeft" align="right" valign="top">typedef spi::KeySet&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a47ab24d4ad28968e1c23986410fba190">KeySet</a></td></tr>
<tr class="separator:a47ab24d4ad28968e1c23986410fba190"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a5a286d3b465aaf1f2491960fc03fa9eb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a5a286d3b465aaf1f2491960fc03fa9eb">LoggingEvent</a> ()</td></tr>
<tr class="memdesc:a5a286d3b465aaf1f2491960fc03fa9eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">For serialization only. <a href="#a5a286d3b465aaf1f2491960fc03fa9eb">More...</a><br /></td></tr>
<tr class="separator:a5a286d3b465aaf1f2491960fc03fa9eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51c451ec8d7d3cca1dbc7eba86938687"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a51c451ec8d7d3cca1dbc7eba86938687">LoggingEvent</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;logger, const <a class="el" href="namespacelog4cxx.html#a41e2277a4c60af1f49b282d29018e201">LevelPtr</a> &amp;level, const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;message, const <a class="el" href="classlog4cxx_1_1spi_1_1_location_info.html">log4cxx::spi::LocationInfo</a> &amp;location)</td></tr>
<tr class="memdesc:a51c451ec8d7d3cca1dbc7eba86938687"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instantiate a <a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html" title="The internal representation of logging events. ">LoggingEvent</a> from the supplied parameters. <a href="#a51c451ec8d7d3cca1dbc7eba86938687">More...</a><br /></td></tr>
<tr class="separator:a51c451ec8d7d3cca1dbc7eba86938687"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a230dfbc85d6f51417472fea7893e4203"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a230dfbc85d6f51417472fea7893e4203">~LoggingEvent</a> ()</td></tr>
<tr class="separator:a230dfbc85d6f51417472fea7893e4203"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a183d6ded66a2e18d2b9fd505aa9a8021"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespacelog4cxx.html#a41e2277a4c60af1f49b282d29018e201">LevelPtr</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a183d6ded66a2e18d2b9fd505aa9a8021">getLevel</a> () const </td></tr>
<tr class="memdesc:a183d6ded66a2e18d2b9fd505aa9a8021"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the level of this event. <a href="#a183d6ded66a2e18d2b9fd505aa9a8021">More...</a><br /></td></tr>
<tr class="separator:a183d6ded66a2e18d2b9fd505aa9a8021"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fa9dec3d04d993afe60c366efefdd5f"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a0fa9dec3d04d993afe60c366efefdd5f">getLoggerName</a> () const </td></tr>
<tr class="memdesc:a0fa9dec3d04d993afe60c366efefdd5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the name of the logger. <a href="#a0fa9dec3d04d993afe60c366efefdd5f">More...</a><br /></td></tr>
<tr class="separator:a0fa9dec3d04d993afe60c366efefdd5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a821ec92b63f4b294ed6d7b4aafc93877"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a821ec92b63f4b294ed6d7b4aafc93877">getMessage</a> () const </td></tr>
<tr class="memdesc:a821ec92b63f4b294ed6d7b4aafc93877"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the message for this logging event. <a href="#a821ec92b63f4b294ed6d7b4aafc93877">More...</a><br /></td></tr>
<tr class="separator:a821ec92b63f4b294ed6d7b4aafc93877"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad01c9d1ca53e5036d4d95e8a2f15b266"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#ad01c9d1ca53e5036d4d95e8a2f15b266">getRenderedMessage</a> () const </td></tr>
<tr class="memdesc:ad01c9d1ca53e5036d4d95e8a2f15b266"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the message for this logging event. <a href="#ad01c9d1ca53e5036d4d95e8a2f15b266">More...</a><br /></td></tr>
<tr class="separator:ad01c9d1ca53e5036d4d95e8a2f15b266"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4b02dfb65a00116f57a06895fbb34ad"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#ad4b02dfb65a00116f57a06895fbb34ad">getThreadName</a> () const </td></tr>
<tr class="memdesc:ad4b02dfb65a00116f57a06895fbb34ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the threadName of this event. <a href="#ad4b02dfb65a00116f57a06895fbb34ad">More...</a><br /></td></tr>
<tr class="separator:ad4b02dfb65a00116f57a06895fbb34ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94cf977261a98da0cc53f2346f3a45d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="log4cxx_8h.html#adcf85375d350e7045ac5570a2c922aec">log4cxx_time_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a94cf977261a98da0cc53f2346f3a45d0">getTimeStamp</a> () const </td></tr>
<tr class="memdesc:a94cf977261a98da0cc53f2346f3a45d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">The number of microseconds elapsed from 01.01.1970 until logging event was created. <a href="#a94cf977261a98da0cc53f2346f3a45d0">More...</a><br /></td></tr>
<tr class="separator:a94cf977261a98da0cc53f2346f3a45d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30b6c199fbbf62aef273ac6441117476"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classlog4cxx_1_1spi_1_1_location_info.html">log4cxx::spi::LocationInfo</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a30b6c199fbbf62aef273ac6441117476">getLocationInformation</a> () const </td></tr>
<tr class="separator:a30b6c199fbbf62aef273ac6441117476"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d62917cb60bdbd09706603825c13aab"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a2d62917cb60bdbd09706603825c13aab">getNDC</a> (<a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;dest) const </td></tr>
<tr class="memdesc:a2d62917cb60bdbd09706603825c13aab"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method appends the <a class="el" href="classlog4cxx_1_1_n_d_c.html" title="the ndc class implements nested diagnostic contexts as defined by neil harrison in the article &quot;patte...">NDC</a> for this event to passed string. <a href="#a2d62917cb60bdbd09706603825c13aab">More...</a><br /></td></tr>
<tr class="separator:a2d62917cb60bdbd09706603825c13aab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52e0d159b6a0e4ebd10ebd559bb771a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a52e0d159b6a0e4ebd10ebd559bb771a9">write</a> (<a class="el" href="classlog4cxx_1_1helpers_1_1_object_output_stream.html">helpers::ObjectOutputStream</a> &amp;os, <a class="el" href="classlog4cxx_1_1helpers_1_1_pool.html">helpers::Pool</a> &amp;p) const </td></tr>
<tr class="memdesc:a52e0d159b6a0e4ebd10ebd559bb771a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes the content of the <a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html" title="The internal representation of logging events. ">LoggingEvent</a> in a format compatible with log4j's serialized form. <a href="#a52e0d159b6a0e4ebd10ebd559bb771a9">More...</a><br /></td></tr>
<tr class="separator:a52e0d159b6a0e4ebd10ebd559bb771a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a694c2b2b58295c301950e41848c95a56"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a694c2b2b58295c301950e41848c95a56">getMDC</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;key, <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;dest) const </td></tr>
<tr class="memdesc:a694c2b2b58295c301950e41848c95a56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Appends the the context corresponding to the <code>key</code> parameter. <a href="#a694c2b2b58295c301950e41848c95a56">More...</a><br /></td></tr>
<tr class="separator:a694c2b2b58295c301950e41848c95a56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31d9fbc3746c91b951bb037056120a53"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a47ab24d4ad28968e1c23986410fba190">KeySet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a31d9fbc3746c91b951bb037056120a53">getMDCKeySet</a> () const </td></tr>
<tr class="memdesc:a31d9fbc3746c91b951bb037056120a53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the set of of the key values in the <a class="el" href="classlog4cxx_1_1_m_d_c.html" title="The MDC class is similar to the NDC class except that it is based on a map instead of a stack...">MDC</a> for the event. <a href="#a31d9fbc3746c91b951bb037056120a53">More...</a><br /></td></tr>
<tr class="separator:a31d9fbc3746c91b951bb037056120a53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3451748570be6b86736868e00551c159"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a3451748570be6b86736868e00551c159">getMDCCopy</a> () const </td></tr>
<tr class="memdesc:a3451748570be6b86736868e00551c159"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtain a copy of this thread's <a class="el" href="classlog4cxx_1_1_m_d_c.html" title="The MDC class is similar to the NDC class except that it is based on a map instead of a stack...">MDC</a> prior to serialization or asynchronous logging. <a href="#a3451748570be6b86736868e00551c159">More...</a><br /></td></tr>
<tr class="separator:a3451748570be6b86736868e00551c159"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5bf95971b2f6bc5f2b9b4d6735574ce1"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a5bf95971b2f6bc5f2b9b4d6735574ce1">getProperty</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;key, <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;dest) const </td></tr>
<tr class="memdesc:a5bf95971b2f6bc5f2b9b4d6735574ce1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a previously set property. <a href="#a5bf95971b2f6bc5f2b9b4d6735574ce1">More...</a><br /></td></tr>
<tr class="separator:a5bf95971b2f6bc5f2b9b4d6735574ce1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31a5674c3c16f242c1274d4914d2560b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a47ab24d4ad28968e1c23986410fba190">KeySet</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a31a5674c3c16f242c1274d4914d2560b">getPropertyKeySet</a> () const </td></tr>
<tr class="memdesc:a31a5674c3c16f242c1274d4914d2560b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the set of of the key values in the properties for the event. <a href="#a31a5674c3c16f242c1274d4914d2560b">More...</a><br /></td></tr>
<tr class="separator:a31a5674c3c16f242c1274d4914d2560b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78260008ffd6edbf8225f6da1f439baa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a78260008ffd6edbf8225f6da1f439baa">setProperty</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;key, const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;value)</td></tr>
<tr class="memdesc:a78260008ffd6edbf8225f6da1f439baa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a string property using a key and a string value. <a href="#a78260008ffd6edbf8225f6da1f439baa">More...</a><br /></td></tr>
<tr class="separator:a78260008ffd6edbf8225f6da1f439baa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlog4cxx_1_1helpers_1_1_object_impl')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html">ObjectImpl</a></td></tr>
<tr class="memitem:a5e6e9fc30dc1f098fee72d516ea0bad0 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html#a5e6e9fc30dc1f098fee72d516ea0bad0">ObjectImpl</a> ()</td></tr>
<tr class="separator:a5e6e9fc30dc1f098fee72d516ea0bad0 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb974728bb3cb991285140c1aa57eed7 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html#abb974728bb3cb991285140c1aa57eed7">~ObjectImpl</a> ()</td></tr>
<tr class="separator:abb974728bb3cb991285140c1aa57eed7 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0198815940c2715c84b0e04828cf8dfa inherit pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html#a0198815940c2715c84b0e04828cf8dfa">addRef</a> () const </td></tr>
<tr class="separator:a0198815940c2715c84b0e04828cf8dfa inherit pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55c31efee1904916b999395fa4d46a24 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html#a55c31efee1904916b999395fa4d46a24">releaseRef</a> () const </td></tr>
<tr class="separator:a55c31efee1904916b999395fa4d46a24 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classlog4cxx_1_1helpers_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlog4cxx_1_1helpers_1_1_object')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1_object.html">Object</a></td></tr>
<tr class="memitem:ae7b62e37794f297c0cede40ed0e84fcd inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classlog4cxx_1_1helpers_1_1_class.html">helpers::Class</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object.html#ae7b62e37794f297c0cede40ed0e84fcd">getClass</a> () const </td></tr>
<tr class="separator:ae7b62e37794f297c0cede40ed0e84fcd inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5cc4f9ba1ea5c2f25bc4b1f0dac5dc5 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object.html#ab5cc4f9ba1ea5c2f25bc4b1f0dac5dc5">~Object</a> ()</td></tr>
<tr class="separator:ab5cc4f9ba1ea5c2f25bc4b1f0dac5dc5 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3604a5fb08f7048d41b51a3943740b96 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object.html#a3604a5fb08f7048d41b51a3943740b96">instanceof</a> (const <a class="el" href="classlog4cxx_1_1helpers_1_1_class.html">Class</a> &amp;clazz) const =0</td></tr>
<tr class="separator:a3604a5fb08f7048d41b51a3943740b96 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a7744a4efdb699356cef215613903c3 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memItemLeft" align="right" valign="top">virtual const void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object.html#a5a7744a4efdb699356cef215613903c3">cast</a> (const <a class="el" href="classlog4cxx_1_1helpers_1_1_class.html">Class</a> &amp;clazz) const =0</td></tr>
<tr class="separator:a5a7744a4efdb699356cef215613903c3 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a0777f0af7b63696f63774073c2075760"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="log4cxx_8h.html#adcf85375d350e7045ac5570a2c922aec">log4cxx_time_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a0777f0af7b63696f63774073c2075760">getStartTime</a> ()</td></tr>
<tr class="memdesc:a0777f0af7b63696f63774073c2075760"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the time when the application started, in microseconds elapsed since 01.01.1970. <a href="#a0777f0af7b63696f63774073c2075760">More...</a><br /></td></tr>
<tr class="separator:a0777f0af7b63696f63774073c2075760"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classlog4cxx_1_1helpers_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classlog4cxx_1_1helpers_1_1_object')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1_object.html">Object</a></td></tr>
<tr class="memitem:a0bdbda4effe8938c1aca6d4397e5a39d inherit pub_static_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classlog4cxx_1_1helpers_1_1_class.html">helpers::Class</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object.html#a0bdbda4effe8938c1aca6d4397e5a39d">getStaticClass</a> ()</td></tr>
<tr class="separator:a0bdbda4effe8938c1aca6d4397e5a39d inherit pub_static_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50ec9288d0b7e3140dee8e24ee74a212 inherit pub_static_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classlog4cxx_1_1helpers_1_1_class_registration.html">log4cxx::helpers::ClassRegistration</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object.html#a50ec9288d0b7e3140dee8e24ee74a212">registerClass</a> ()</td></tr>
<tr class="separator:a50ec9288d0b7e3140dee8e24ee74a212 inherit pub_static_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_attribs_classlog4cxx_1_1helpers_1_1_object_impl"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classlog4cxx_1_1helpers_1_1_object_impl')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html">ObjectImpl</a></td></tr>
<tr class="memitem:a88f2ae00c84f3f309965e6588ed158d4 inherit pro_attribs_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memItemLeft" align="right" valign="top">unsigned int volatile&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html#a88f2ae00c84f3f309965e6588ed158d4">ref</a></td></tr>
<tr class="separator:a88f2ae00c84f3f309965e6588ed158d4 inherit pro_attribs_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The internal representation of logging events. </p>
<p>When an affirmative decision is made to log then a <code><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html" title="The internal representation of logging events. ">LoggingEvent</a></code> instance is created. This instance is passed around to the different <a class="el" href="namespacelog4cxx.html">log4cxx</a> components.</p>
<p>This class is of concern to those wishing to extend <a class="el" href="namespacelog4cxx.html">log4cxx</a>. </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a47ab24d4ad28968e1c23986410fba190"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">typedef spi::KeySet <a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a47ab24d4ad28968e1c23986410fba190">KeySet</a></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a5a286d3b465aaf1f2491960fc03fa9eb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html">LoggingEvent</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>For serialization only. </p>
</div>
</div>
<a class="anchor" id="a51c451ec8d7d3cca1dbc7eba86938687"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html">LoggingEvent</a> </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
<td class="paramname"><em>logger</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx.html#a41e2277a4c60af1f49b282d29018e201">LevelPtr</a> &amp;&#160;</td>
<td class="paramname"><em>level</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
<td class="paramname"><em>message</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classlog4cxx_1_1spi_1_1_location_info.html">log4cxx::spi::LocationInfo</a> &amp;&#160;</td>
<td class="paramname"><em>location</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Instantiate a <a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html" title="The internal representation of logging events. ">LoggingEvent</a> from the supplied parameters. </p>
<p>Except timeStamp all the other fields of <code><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html" title="The internal representation of logging events. ">LoggingEvent</a></code> are filled when actually needed. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">logger</td><td>The logger of this event. </td></tr>
<tr><td class="paramname">level</td><td>The level of this event. </td></tr>
<tr><td class="paramname">message</td><td>The message of this event. </td></tr>
<tr><td class="paramname">location</td><td>location of logging request. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a230dfbc85d6f51417472fea7893e4203"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">~<a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html">LoggingEvent</a> </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a183d6ded66a2e18d2b9fd505aa9a8021"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="namespacelog4cxx.html#a41e2277a4c60af1f49b282d29018e201">LevelPtr</a>&amp; getLevel </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the level of this event. </p>
</div>
</div>
<a class="anchor" id="a30b6c199fbbf62aef273ac6441117476"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="classlog4cxx_1_1spi_1_1_location_info.html">log4cxx::spi::LocationInfo</a>&amp; getLocationInformation </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a0fa9dec3d04d993afe60c366efefdd5f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a>&amp; getLoggerName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the name of the logger. </p>
</div>
</div>
<a class="anchor" id="a694c2b2b58295c301950e41848c95a56"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool getMDC </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
<td class="paramname"><em>dest</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Appends the the context corresponding to the <code>key</code> parameter. </p>
<p>If there is a local <a class="el" href="classlog4cxx_1_1_m_d_c.html" title="The MDC class is similar to the NDC class except that it is based on a map instead of a stack...">MDC</a> copy, possibly because we are in a logging server or running inside <a class="el" href="classlog4cxx_1_1_async_appender.html" title="The AsyncAppender lets users log events asynchronously. ">AsyncAppender</a>, then we search for the key in <a class="el" href="classlog4cxx_1_1_m_d_c.html" title="The MDC class is similar to the NDC class except that it is based on a map instead of a stack...">MDC</a> copy, if a value is found it is returned. Otherwise, if the search in <a class="el" href="classlog4cxx_1_1_m_d_c.html" title="The MDC class is similar to the NDC class except that it is based on a map instead of a stack...">MDC</a> copy returns an empty result, then the current thread's <code><a class="el" href="classlog4cxx_1_1_m_d_c.html" title="The MDC class is similar to the NDC class except that it is based on a map instead of a stack...">MDC</a></code> is used.</p>
<p>Note that <em>both</em> the local <a class="el" href="classlog4cxx_1_1_m_d_c.html" title="The MDC class is similar to the NDC class except that it is based on a map instead of a stack...">MDC</a> copy and the current thread's <a class="el" href="classlog4cxx_1_1_m_d_c.html" title="The MDC class is similar to the NDC class except that it is based on a map instead of a stack...">MDC</a> are searched. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>key. </td></tr>
<tr><td class="paramname">dest</td><td>string to which value, if any, is appended. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if key had a corresponding value. </dd></dl>
</div>
</div>
<a class="anchor" id="a3451748570be6b86736868e00551c159"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void getMDCCopy </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Obtain a copy of this thread's <a class="el" href="classlog4cxx_1_1_m_d_c.html" title="The MDC class is similar to the NDC class except that it is based on a map instead of a stack...">MDC</a> prior to serialization or asynchronous logging. </p>
</div>
</div>
<a class="anchor" id="a31d9fbc3746c91b951bb037056120a53"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a47ab24d4ad28968e1c23986410fba190">KeySet</a> getMDCKeySet </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the set of of the key values in the <a class="el" href="classlog4cxx_1_1_m_d_c.html" title="The MDC class is similar to the NDC class except that it is based on a map instead of a stack...">MDC</a> for the event. </p>
<p>The returned set is unmodifiable by the caller.</p>
<dl class="section return"><dt>Returns</dt><dd>Set an unmodifiable set of the <a class="el" href="classlog4cxx_1_1_m_d_c.html" title="The MDC class is similar to the NDC class except that it is based on a map instead of a stack...">MDC</a> keys. </dd></dl>
</div>
</div>
<a class="anchor" id="a821ec92b63f4b294ed6d7b4aafc93877"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a>&amp; getMessage </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the message for this logging event. </p>
</div>
</div>
<a class="anchor" id="a2d62917cb60bdbd09706603825c13aab"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool getNDC </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
<td class="paramname"><em>dest</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>This method appends the <a class="el" href="classlog4cxx_1_1_n_d_c.html" title="the ndc class implements nested diagnostic contexts as defined by neil harrison in the article &quot;patte...">NDC</a> for this event to passed string. </p>
<p>It will return the correct content even if the event was generated in a different thread or even on a different machine. The <a class="el" href="classlog4cxx_1_1_n_d_c.html#aec930584769a8379ff4ee6ecd2448508" title="Get the current value of the NDC of the currrent thread. ">NDC::get</a> method should <em>never</em> be called directly.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">dest</td><td>destination for <a class="el" href="classlog4cxx_1_1_n_d_c.html" title="the ndc class implements nested diagnostic contexts as defined by neil harrison in the article &quot;patte...">NDC</a>, unchanged if <a class="el" href="classlog4cxx_1_1_n_d_c.html" title="the ndc class implements nested diagnostic contexts as defined by neil harrison in the article &quot;patte...">NDC</a> is not set. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if <a class="el" href="classlog4cxx_1_1_n_d_c.html" title="the ndc class implements nested diagnostic contexts as defined by neil harrison in the article &quot;patte...">NDC</a> is set. </dd></dl>
</div>
</div>
<a class="anchor" id="a5bf95971b2f6bc5f2b9b4d6735574ce1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool getProperty </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
<td class="paramname"><em>dest</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Return a previously set property. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">key</td><td>key. </td></tr>
<tr><td class="paramname">dest</td><td>string to which value, if any, is appended. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if key had a corresponding value. </dd></dl>
</div>
</div>
<a class="anchor" id="a31a5674c3c16f242c1274d4914d2560b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html#a47ab24d4ad28968e1c23986410fba190">KeySet</a> getPropertyKeySet </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the set of of the key values in the properties for the event. </p>
<p>The returned set is unmodifiable by the caller.</p>
<dl class="section return"><dt>Returns</dt><dd>Set an unmodifiable set of the property keys. </dd></dl>
</div>
</div>
<a class="anchor" id="ad01c9d1ca53e5036d4d95e8a2f15b266"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a>&amp; getRenderedMessage </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the message for this logging event. </p>
</div>
</div>
<a class="anchor" id="a0777f0af7b63696f63774073c2075760"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="log4cxx_8h.html#adcf85375d350e7045ac5570a2c922aec">log4cxx_time_t</a> getStartTime </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the time when the application started, in microseconds elapsed since 01.01.1970. </p>
</div>
</div>
<a class="anchor" id="ad4b02dfb65a00116f57a06895fbb34ad"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a>&amp; getThreadName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Return the threadName of this event. </p>
</div>
</div>
<a class="anchor" id="a94cf977261a98da0cc53f2346f3a45d0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="log4cxx_8h.html#adcf85375d350e7045ac5570a2c922aec">log4cxx_time_t</a> getTimeStamp </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>The number of microseconds elapsed from 01.01.1970 until logging event was created. </p>
</div>
</div>
<a class="anchor" id="a78260008ffd6edbf8225f6da1f439baa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void setProperty </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
<td class="paramname"><em>key</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
<td class="paramname"><em>value</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set a string property using a key and a string value. </p>
<p>since 1.3 </p>
</div>
</div>
<a class="anchor" id="a52e0d159b6a0e4ebd10ebd559bb771a9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void write </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classlog4cxx_1_1helpers_1_1_object_output_stream.html">helpers::ObjectOutputStream</a> &amp;&#160;</td>
<td class="paramname"><em>os</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classlog4cxx_1_1helpers_1_1_pool.html">helpers::Pool</a> &amp;&#160;</td>
<td class="paramname"><em>p</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes the content of the <a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html" title="The internal representation of logging events. ">LoggingEvent</a> in a format compatible with log4j's serialized form. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="loggingevent_8h.html">loggingevent.h</a></li>
</ul>
</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>