blob: 42e7cf1cb760128c5365c2ff396c9780d990435a [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.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Apache log4cxx: log4cxx::filter::LocationInfoFilter 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);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="customdoxygen.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">Apache log4cxx
&#160;<span id="projectnumber">Version 0.12.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</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_1filter_1_1LocationInfoFilter.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-methods">Public Member Functions</a> &#124;
<a href="classlog4cxx_1_1filter_1_1LocationInfoFilter-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">log4cxx::filter::LocationInfoFilter Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Location information is usually specified at the appender level - all events associated with an appender either create and parse stack traces or they do not.
<a href="classlog4cxx_1_1filter_1_1LocationInfoFilter.html#details">More...</a></p>
<p><code>#include &lt;<a class="el" href="locationinfofilter_8h_source.html">locationinfofilter.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for log4cxx::filter::LocationInfoFilter:</div>
<div class="dyncontent">
<div class="center">
<img src="classlog4cxx_1_1filter_1_1LocationInfoFilter.png" usemap="#log4cxx::filter::LocationInfoFilter_map" alt=""/>
<map id="log4cxx::filter::LocationInfoFilter_map" name="log4cxx::filter::LocationInfoFilter_map">
<area href="classlog4cxx_1_1spi_1_1Filter.html" title="Users should extend this class to implement customized logging event filtering. " alt="log4cxx::spi::Filter" shape="rect" coords="100,112,290,136"/>
<area href="classlog4cxx_1_1spi_1_1OptionHandler.html" title="A string based interface to configure package components. " alt="log4cxx::spi::OptionHandler" shape="rect" coords="0,56,190,80"/>
<area href="classlog4cxx_1_1helpers_1_1Object.html" title="base class for java-like objects. " alt="log4cxx::helpers::Object" shape="rect" coords="200,56,390,80"/>
<area href="classlog4cxx_1_1helpers_1_1Object.html" title="base class for java-like objects. " alt="log4cxx::helpers::Object" shape="rect" coords="0,0,190,24"/>
</map>
</div></div>
<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:a561927600a8680d11813e85de38db7d3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1filter_1_1LocationInfoFilter.html#a561927600a8680d11813e85de38db7d3">LocationInfoFilter</a> ()</td></tr>
<tr class="separator:a561927600a8680d11813e85de38db7d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1f66c77b8b6f4bea392b62868f48c1f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1filter_1_1LocationInfoFilter.html#ab1f66c77b8b6f4bea392b62868f48c1f">activateOptions</a> (<a class="el" href="classlog4cxx_1_1helpers_1_1Pool.html">log4cxx::helpers::Pool</a> &amp;)</td></tr>
<tr class="memdesc:ab1f66c77b8b6f4bea392b62868f48c1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Activate the options that were previously set with calls to option setters. <a href="#ab1f66c77b8b6f4bea392b62868f48c1f">More...</a><br /></td></tr>
<tr class="separator:ab1f66c77b8b6f4bea392b62868f48c1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd12d071fd64713c0d3bea6b934ffedb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1filter_1_1LocationInfoFilter.html#afd12d071fd64713c0d3bea6b934ffedb">setExpression</a> (const <a class="el" href="namespacelog4cxx.html#aa2308ed05fef2a1366066cb38b177e94">LogString</a> &amp;expression)</td></tr>
<tr class="separator:afd12d071fd64713c0d3bea6b934ffedb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9c13843f921ac014b6d931bec9de284"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacelog4cxx.html#aa2308ed05fef2a1366066cb38b177e94">LogString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1filter_1_1LocationInfoFilter.html#ac9c13843f921ac014b6d931bec9de284">getExpression</a> () const</td></tr>
<tr class="separator:ac9c13843f921ac014b6d931bec9de284"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ed19d25d5249ee5d68e14911d287dbc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1filter_1_1LocationInfoFilter.html#a4ed19d25d5249ee5d68e14911d287dbc">setConvertInFixToPostFix</a> (bool convertInFixToPostFix)</td></tr>
<tr class="separator:a4ed19d25d5249ee5d68e14911d287dbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf06266751ae2cb41c10d084bfc08367"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1filter_1_1LocationInfoFilter.html#adf06266751ae2cb41c10d084bfc08367">getConvertInFixToPostFix</a> () const</td></tr>
<tr class="separator:adf06266751ae2cb41c10d084bfc08367"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bd23d2bb39a3c4ccf7c2cc534f6f422"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classlog4cxx_1_1spi_1_1Filter.html#aa59a54ffa01e4cc1635734a251afd5ee">FilterDecision</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1filter_1_1LocationInfoFilter.html#a6bd23d2bb39a3c4ccf7c2cc534f6f422">decide</a> (const <a class="el" href="namespacelog4cxx_1_1spi.html#aae6992e1b33222c26bdc1173b6aedc6c">spi::LoggingEventPtr</a> &amp;event) const</td></tr>
<tr class="memdesc:a6bd23d2bb39a3c4ccf7c2cc534f6f422"><td class="mdescLeft">&#160;</td><td class="mdescRight">If this event does not already contain location information, evaluate the event against the expression. <a href="#a6bd23d2bb39a3c4ccf7c2cc534f6f422">More...</a><br /></td></tr>
<tr class="separator:a6bd23d2bb39a3c4ccf7c2cc534f6f422"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classlog4cxx_1_1spi_1_1Filter"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlog4cxx_1_1spi_1_1Filter')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1spi_1_1Filter.html">log4cxx::spi::Filter</a></td></tr>
<tr class="memitem:a0aa65f9a40236d3646e017faa3d7fc41 inherit pub_methods_classlog4cxx_1_1spi_1_1Filter"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1Filter.html#a0aa65f9a40236d3646e017faa3d7fc41">Filter</a> ()</td></tr>
<tr class="separator:a0aa65f9a40236d3646e017faa3d7fc41 inherit pub_methods_classlog4cxx_1_1spi_1_1Filter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20cf9ae893ad38a1a8e87c780b2d9a95 inherit pub_methods_classlog4cxx_1_1spi_1_1Filter"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacelog4cxx_1_1spi.html#a98940dd5338fd77ed3018e8ad9d5ac97">log4cxx::spi::FilterPtr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1Filter.html#a20cf9ae893ad38a1a8e87c780b2d9a95">getNext</a> () const</td></tr>
<tr class="separator:a20cf9ae893ad38a1a8e87c780b2d9a95 inherit pub_methods_classlog4cxx_1_1spi_1_1Filter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb49a7ccff8b3faf2004f0003d0b4cd0 inherit pub_methods_classlog4cxx_1_1spi_1_1Filter"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1Filter.html#abb49a7ccff8b3faf2004f0003d0b4cd0">setNext</a> (const <a class="el" href="namespacelog4cxx_1_1spi.html#a98940dd5338fd77ed3018e8ad9d5ac97">log4cxx::spi::FilterPtr</a> &amp;newNext)</td></tr>
<tr class="separator:abb49a7ccff8b3faf2004f0003d0b4cd0 inherit pub_methods_classlog4cxx_1_1spi_1_1Filter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2886eec4428fa5316fd6e1bd8a1801c2 inherit pub_methods_classlog4cxx_1_1spi_1_1Filter"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1Filter.html#a2886eec4428fa5316fd6e1bd8a1801c2">activateOptions</a> (<a class="el" href="classlog4cxx_1_1helpers_1_1Pool.html">log4cxx::helpers::Pool</a> &amp;p)</td></tr>
<tr class="memdesc:a2886eec4428fa5316fd6e1bd8a1801c2 inherit pub_methods_classlog4cxx_1_1spi_1_1Filter"><td class="mdescLeft">&#160;</td><td class="mdescRight">Usually filters options become active when set. <a href="classlog4cxx_1_1spi_1_1Filter.html#a2886eec4428fa5316fd6e1bd8a1801c2">More...</a><br /></td></tr>
<tr class="separator:a2886eec4428fa5316fd6e1bd8a1801c2 inherit pub_methods_classlog4cxx_1_1spi_1_1Filter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6911e0351fc920fd066515c058944149 inherit pub_methods_classlog4cxx_1_1spi_1_1Filter"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1Filter.html#a6911e0351fc920fd066515c058944149">setOption</a> (const <a class="el" href="namespacelog4cxx.html#aa2308ed05fef2a1366066cb38b177e94">LogString</a> &amp;option, const <a class="el" href="namespacelog4cxx.html#aa2308ed05fef2a1366066cb38b177e94">LogString</a> &amp;value)</td></tr>
<tr class="memdesc:a6911e0351fc920fd066515c058944149 inherit pub_methods_classlog4cxx_1_1spi_1_1Filter"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set <code>option</code> to <code>value</code>. <a href="classlog4cxx_1_1spi_1_1Filter.html#a6911e0351fc920fd066515c058944149">More...</a><br /></td></tr>
<tr class="separator:a6911e0351fc920fd066515c058944149 inherit pub_methods_classlog4cxx_1_1spi_1_1Filter"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classlog4cxx_1_1spi_1_1OptionHandler"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlog4cxx_1_1spi_1_1OptionHandler')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1spi_1_1OptionHandler.html">log4cxx::spi::OptionHandler</a></td></tr>
<tr class="memitem:a556b59c5ef41477c0bc3f50efadc859e inherit pub_methods_classlog4cxx_1_1spi_1_1OptionHandler"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1OptionHandler.html#a556b59c5ef41477c0bc3f50efadc859e">~OptionHandler</a> ()</td></tr>
<tr class="separator:a556b59c5ef41477c0bc3f50efadc859e inherit pub_methods_classlog4cxx_1_1spi_1_1OptionHandler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classlog4cxx_1_1helpers_1_1Object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlog4cxx_1_1helpers_1_1Object')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1Object.html">log4cxx::helpers::Object</a></td></tr>
<tr class="memitem:a8ba23411233a652fac44a619e6356115 inherit pub_methods_classlog4cxx_1_1helpers_1_1Object"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1Object.html#a8ba23411233a652fac44a619e6356115">~Object</a> ()</td></tr>
<tr class="separator:a8ba23411233a652fac44a619e6356115 inherit pub_methods_classlog4cxx_1_1helpers_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9dac08272167c9af4c7d81e9e205a9de inherit pub_methods_classlog4cxx_1_1helpers_1_1Object"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1Object.html#a9dac08272167c9af4c7d81e9e205a9de">instanceof</a> (const <a class="el" href="classlog4cxx_1_1helpers_1_1Class.html">Class</a> &amp;clazz) const =0</td></tr>
<tr class="separator:a9dac08272167c9af4c7d81e9e205a9de inherit pub_methods_classlog4cxx_1_1helpers_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a24185c7ef795bd6ac70d69c22ca7d9 inherit pub_methods_classlog4cxx_1_1helpers_1_1Object"><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_1Object.html#a4a24185c7ef795bd6ac70d69c22ca7d9">cast</a> (const <a class="el" href="classlog4cxx_1_1helpers_1_1Class.html">Class</a> &amp;clazz) const =0</td></tr>
<tr class="separator:a4a24185c7ef795bd6ac70d69c22ca7d9 inherit pub_methods_classlog4cxx_1_1helpers_1_1Object"><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 pub_types_classlog4cxx_1_1spi_1_1Filter"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classlog4cxx_1_1spi_1_1Filter')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classlog4cxx_1_1spi_1_1Filter.html">log4cxx::spi::Filter</a></td></tr>
<tr class="memitem:aa59a54ffa01e4cc1635734a251afd5ee inherit pub_types_classlog4cxx_1_1spi_1_1Filter"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1Filter.html#aa59a54ffa01e4cc1635734a251afd5ee">FilterDecision</a> { <a class="el" href="classlog4cxx_1_1spi_1_1Filter.html#aa59a54ffa01e4cc1635734a251afd5eeabb642c7f3bd94cb2505c0ee8f6644eb2">DENY</a> = -1,
<a class="el" href="classlog4cxx_1_1spi_1_1Filter.html#aa59a54ffa01e4cc1635734a251afd5eeaae63501a780312e27cdaf212f65c7fc3">NEUTRAL</a> = 0,
<a class="el" href="classlog4cxx_1_1spi_1_1Filter.html#aa59a54ffa01e4cc1635734a251afd5eea1c13584493a60ac7c8a36c64972522f2">ACCEPT</a> = 1
}</td></tr>
<tr class="separator:aa59a54ffa01e4cc1635734a251afd5ee inherit pub_types_classlog4cxx_1_1spi_1_1Filter"><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>Location information is usually specified at the appender level - all events associated with an appender either create and parse stack traces or they do not. </p>
<p>This is an expensive operation and in some cases not needed for all events associated with an appender.</p>
<p>This filter creates event-level location information only if the provided expression evaluates to true.</p>
<p>For information on expression syntax, see org.apache.log4j.rule.ExpressionRule </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a561927600a8680d11813e85de38db7d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a561927600a8680d11813e85de38db7d3">&#9670;&nbsp;</a></span>LocationInfoFilter()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">log4cxx::filter::LocationInfoFilter::LocationInfoFilter </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 id="ab1f66c77b8b6f4bea392b62868f48c1f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1f66c77b8b6f4bea392b62868f48c1f">&#9670;&nbsp;</a></span>activateOptions()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void log4cxx::filter::LocationInfoFilter::activateOptions </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classlog4cxx_1_1helpers_1_1Pool.html">log4cxx::helpers::Pool</a> &amp;&#160;</td>
<td class="paramname"><em>p</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Activate the options that were previously set with calls to option setters. </p>
<p>This allows to defer activiation of the options until all options have been set. This is required for components which have related options that remain ambigous until all are set.</p>
<p>For example, the <a class="el" href="classlog4cxx_1_1FileAppender.html" title="FileAppender appends log events to a file. ">FileAppender</a> has the <a class="el" href="classlog4cxx_1_1FileAppender.html#adae918147528724883ed84d5797867e0">File</a> and <a class="el" href="classlog4cxx_1_1FileAppender.html#a625c250996ffe2fadc08dcd65a453e51">Append</a> options both of which are ambigous until the other is also set. </p>
<p>Implements <a class="el" href="classlog4cxx_1_1spi_1_1OptionHandler.html#a3eb97034ac630f54c66bc728382900fe">log4cxx::spi::OptionHandler</a>.</p>
</div>
</div>
<a id="a6bd23d2bb39a3c4ccf7c2cc534f6f422"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6bd23d2bb39a3c4ccf7c2cc534f6f422">&#9670;&nbsp;</a></span>decide()</h2>
<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="classlog4cxx_1_1spi_1_1Filter.html#aa59a54ffa01e4cc1635734a251afd5ee">FilterDecision</a> log4cxx::filter::LocationInfoFilter::decide </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx_1_1spi.html#aae6992e1b33222c26bdc1173b6aedc6c">spi::LoggingEventPtr</a> &amp;&#160;</td>
<td class="paramname"><em>event</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>If this event does not already contain location information, evaluate the event against the expression. </p>
<p>If the expression evaluates to true, generate a LocationInfo instance by creating an exception and set this LocationInfo on the event.</p>
<p>Returns <a class="el" href="classlog4cxx_1_1spi_1_1Filter.html#aa59a54ffa01e4cc1635734a251afd5eeaae63501a780312e27cdaf212f65c7fc3">log4cxx::spi::Filter#NEUTRAL</a> </p>
<p>Implements <a class="el" href="classlog4cxx_1_1spi_1_1Filter.html#a6a3337f691982f4d81b242abc177c7ba">log4cxx::spi::Filter</a>.</p>
</div>
</div>
<a id="adf06266751ae2cb41c10d084bfc08367"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf06266751ae2cb41c10d084bfc08367">&#9670;&nbsp;</a></span>getConvertInFixToPostFix()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool log4cxx::filter::LocationInfoFilter::getConvertInFixToPostFix </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="ac9c13843f921ac014b6d931bec9de284"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9c13843f921ac014b6d931bec9de284">&#9670;&nbsp;</a></span>getExpression()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="namespacelog4cxx.html#aa2308ed05fef2a1366066cb38b177e94">LogString</a> log4cxx::filter::LocationInfoFilter::getExpression </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a4ed19d25d5249ee5d68e14911d287dbc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4ed19d25d5249ee5d68e14911d287dbc">&#9670;&nbsp;</a></span>setConvertInFixToPostFix()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void log4cxx::filter::LocationInfoFilter::setConvertInFixToPostFix </td>
<td>(</td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>convertInFixToPostFix</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="afd12d071fd64713c0d3bea6b934ffedb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd12d071fd64713c0d3bea6b934ffedb">&#9670;&nbsp;</a></span>setExpression()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void log4cxx::filter::LocationInfoFilter::setExpression </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="namespacelog4cxx.html#aa2308ed05fef2a1366066cb38b177e94">LogString</a> &amp;&#160;</td>
<td class="paramname"><em>expression</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="locationinfofilter_8h_source.html">locationinfofilter.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.13-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="namespacelog4cxx.html">log4cxx</a></li><li class="navelem"><a class="el" href="namespacelog4cxx_1_1filter.html">filter</a></li><li class="navelem"><a class="el" href="classlog4cxx_1_1filter_1_1LocationInfoFilter.html">LocationInfoFilter</a></li>
<li class="footer">Generated by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
<li class="center">
Copyright &copy; 2003-2021 <a href="https://www.apache.org/">Apache Software Foundation</a>. All Rights Reserved. <br/>
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, and the Apache Logging project logo are trademarks of The Apache Software Foundation.
</li>
</ul>
</div>
</body>
</html>