1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>log4cpp: log4cpp::AppenderSkeleton Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.2 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</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><a href="pages.html"><span>Related Pages</span></a></li>
</ul>
</div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div class="nav">
<a class="el" href="namespacelog4cpp.html">log4cpp</a>::<a class="el" href="classlog4cpp_1_1AppenderSkeleton.html">AppenderSkeleton</a></div>
<h1>log4cpp::AppenderSkeleton Class Reference</h1><!-- doxytag: class="log4cpp::AppenderSkeleton" --><!-- doxytag: inherits="log4cpp::Appender" --><a class="el" href="classlog4cpp_1_1AppenderSkeleton.html" title="AppenderSkeleton is a helper class, simplifying implementation of Appenders: it already...">AppenderSkeleton</a> is a helper class, simplifying implementation of Appenders: it already takes care of handling of Thresholds and Filters.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="AppenderSkeleton_8hh-source.html">AppenderSkeleton.hh</a>></code>
<p>
Inheritance diagram for log4cpp::AppenderSkeleton:<p><center><img src="classlog4cpp_1_1AppenderSkeleton__inherit__graph.gif" border="0" usemap="#log4cpp_1_1AppenderSkeleton__inherit__map" alt="Inheritance graph"></center>
<map name="log4cpp_1_1AppenderSkeleton__inherit__map">
<area shape="rect" href="classlog4cpp_1_1AbortAppender.html" title="This Appender causes the application to abort() upon the first append() call." alt="" coords="236,155,391,181"><area shape="rect" href="classlog4cpp_1_1IdsaAppender.html" title="IdsaAppender is an Appender that sends LoggingEvents to the IDS/A logger and reference..." alt="" coords="415,155,561,181"><area shape="rect" href="classlog4cpp_1_1LayoutAppender.html" title="LayoutAppender is a common superclass for all Appenders that require a Layout." alt="" coords="585,155,748,181"><area shape="rect" href="classlog4cpp_1_1NTEventLogAppender.html" title="NTEventLogAppender is an Appender that sends LoggingEvents to the Windows event log..." alt="" coords="772,155,967,181"><area shape="rect" href="classlog4cpp_1_1Appender.html" title="Implement this interface for your own strategies for printing log statements." alt="" coords="516,5,639,32"><area shape="rect" href="classlog4cpp_1_1BufferingAppender.html" title="log4cpp::BufferingAppender" alt="" coords="5,229,181,256"><area shape="rect" href="classlog4cpp_1_1FileAppender.html" title="log4cpp::FileAppender" alt="" coords="205,229,349,256"><area shape="rect" href="classlog4cpp_1_1OstreamAppender.html" title="OstreamAppender appends LoggingEvents to ostreams." alt="" coords="373,229,541,256"><area shape="rect" href="classlog4cpp_1_1RemoteSyslogAppender.html" title="RemoteSyslogAppender sends LoggingEvents to a remote syslog system." alt="" coords="565,229,768,256"><area shape="rect" href="classlog4cpp_1_1StringQueueAppender.html" title="This class puts log messages in an in-memory queue." alt="" coords="792,229,984,256"><area shape="rect" href="classlog4cpp_1_1SyslogAppender.html" title="SyslogAppender sends LoggingEvents to the local syslog system." alt="" coords="1008,229,1168,256"><area shape="rect" href="classlog4cpp_1_1Win32DebugAppender.html" title="Win32DebugAppender simply sends the log message to the default system debugger on..." alt="" coords="1192,229,1387,256"><area shape="rect" href="classlog4cpp_1_1RollingFileAppender.html" title="RollingFileAppender is a FileAppender that rolls over the logfile once it has reached..." alt="" coords="185,304,369,331"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for log4cpp::AppenderSkeleton:<p><center><img src="classlog4cpp_1_1AppenderSkeleton__coll__graph.gif" border="0" usemap="#log4cpp_1_1AppenderSkeleton__coll__map" alt="Collaboration graph"></center>
<map name="log4cpp_1_1AppenderSkeleton__coll__map">
<area shape="rect" href="classlog4cpp_1_1Appender.html" title="Implement this interface for your own strategies for printing log statements." alt="" coords="25,96,148,123"><area shape="rect" href="classlog4cpp_1_1threading_1_1Mutex.html" title="log4cpp::threading::Mutex" alt="" coords="5,5,168,32"><area shape="rect" title="_appenderMapMutex" alt="" coords="83,28,91,36"><area shape="rect" title="_appenderMapMutex" alt="" coords="83,92,91,100"><area shape="rect" href="classlog4cpp_1_1Filter.html" title="Users should extend this class to implement customized logging event filtering." alt="" coords="172,96,271,123"><area shape="rect" title="_filter" alt="" coords="207,119,215,127"><area shape="rect" title="_filter" alt="" coords="159,183,167,191"><area shape="rect" title="_chainedFilter" alt="" coords="241,92,249,100"><area shape="rect" title="_chainedFilter" alt="" coords="241,119,249,127"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classlog4cpp_1_1AppenderSkeleton-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1AppenderSkeleton.html#09fd2a7ee5e43f3f203483f0eaf023d7">~AppenderSkeleton</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor for <a class="el" href="classlog4cpp_1_1AppenderSkeleton.html" title="AppenderSkeleton is a helper class, simplifying implementation of Appenders: it already...">AppenderSkeleton</a>. <a href="#09fd2a7ee5e43f3f203483f0eaf023d7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1AppenderSkeleton.html#65d7e244dc5839a59708165ee354c34a">doAppend</a> (const <a class="el" href="structlog4cpp_1_1LoggingEvent.html">LoggingEvent</a> &event)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Log in <a class="el" href="classlog4cpp_1_1Appender.html" title="Implement this interface for your own strategies for printing log statements.">Appender</a> specific way. <a href="#65d7e244dc5839a59708165ee354c34a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1AppenderSkeleton.html#1f61281caac83409db298b681635e029">reopen</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Reopens the output destination of this <a class="el" href="classlog4cpp_1_1Appender.html" title="Implement this interface for your own strategies for printing log statements.">Appender</a>, e.g. <a href="#1f61281caac83409db298b681635e029"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1AppenderSkeleton.html#c62f94c6692fd146fcf37455d3e73439">close</a> ()=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Release any resources allocated within the appender such as file handles, network connections, etc. <a href="#c62f94c6692fd146fcf37455d3e73439"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1AppenderSkeleton.html#2c56b0118614086644df4cd37408ca02">requiresLayout</a> () const=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Check if the appender uses a layout. <a href="#2c56b0118614086644df4cd37408ca02"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1AppenderSkeleton.html#5d1136572a006239935c4264beb07065">setLayout</a> (<a class="el" href="classlog4cpp_1_1Layout.html">Layout</a> *layout)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the <a class="el" href="classlog4cpp_1_1Layout.html" title="Extend this abstract class to create your own log layout format.">Layout</a> for this appender. <a href="#5d1136572a006239935c4264beb07065"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1AppenderSkeleton.html#8f50959239bc9cfd6d32b4522897b904">setThreshold</a> (<a class="el" href="classlog4cpp_1_1Priority.html#19c2e47a94a531d3028f7c545671ff72">Priority::Value</a> priority)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set the threshold priority of this <a class="el" href="classlog4cpp_1_1Appender.html" title="Implement this interface for your own strategies for printing log statements.">Appender</a>. <a href="#8f50959239bc9cfd6d32b4522897b904"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classlog4cpp_1_1Priority.html#19c2e47a94a531d3028f7c545671ff72">Priority::Value</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1AppenderSkeleton.html#8bcc50c73bdfe29255b66445f32f27be">getThreshold</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the threshold priority of this <a class="el" href="classlog4cpp_1_1Appender.html" title="Implement this interface for your own strategies for printing log statements.">Appender</a>. <a href="#8bcc50c73bdfe29255b66445f32f27be"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1AppenderSkeleton.html#ae9c4841aa5558161ea77d8306e40e92">setFilter</a> (<a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> *filter)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Set a <a class="el" href="classlog4cpp_1_1Filter.html" title="Users should extend this class to implement customized logging event filtering.">Filter</a> for this appender. <a href="#ae9c4841aa5558161ea77d8306e40e92"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1AppenderSkeleton.html#d073e3d9c2b68d5fc2341de9b0242114">getFilter</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Get the <a class="el" href="classlog4cpp_1_1Filter.html" title="Users should extend this class to implement customized logging event filtering.">Filter</a> for this appender. <a href="#d073e3d9c2b68d5fc2341de9b0242114"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1AppenderSkeleton.html#a71f5832e0fa4ba297ec1a87116c1630">AppenderSkeleton</a> (const std::string &name)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor for <a class="el" href="classlog4cpp_1_1AppenderSkeleton.html" title="AppenderSkeleton is a helper class, simplifying implementation of Appenders: it already...">AppenderSkeleton</a>. <a href="#a71f5832e0fa4ba297ec1a87116c1630"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1AppenderSkeleton.html#643fb2614192ea09b502a3feb27abe66">_append</a> (const <a class="el" href="structlog4cpp_1_1LoggingEvent.html">LoggingEvent</a> &event)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Log in <a class="el" href="classlog4cpp_1_1Appender.html" title="Implement this interface for your own strategies for printing log statements.">Appender</a> specific way. <a href="#643fb2614192ea09b502a3feb27abe66"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classlog4cpp_1_1AppenderSkeleton.html" title="AppenderSkeleton is a helper class, simplifying implementation of Appenders: it already...">AppenderSkeleton</a> is a helper class, simplifying implementation of Appenders: it already takes care of handling of Thresholds and Filters.
<p>
<hr><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" name="a71f5832e0fa4ba297ec1a87116c1630"></a><!-- doxytag: member="log4cpp::AppenderSkeleton::AppenderSkeleton" ref="a71f5832e0fa4ba297ec1a87116c1630" args="(const std::string &name)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">log4cpp::AppenderSkeleton::AppenderSkeleton </td>
<td>(</td>
<td class="paramtype">const std::string & </td>
<td class="paramname"> <em>name</em> </td>
<td> ) </td>
<td width="100%"><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Constructor for <a class="el" href="classlog4cpp_1_1AppenderSkeleton.html" title="AppenderSkeleton is a helper class, simplifying implementation of Appenders: it already...">AppenderSkeleton</a>.
<p>
Will only be used in <a class="el" href="classlog4cpp_1_1Appender.html#933b016253c08a3119f3f6fa0e461beb" title="Get a pointer to an exitsing Appender.">getAppender()</a> (and in derived classes of course). <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>The name of this <a class="el" href="classlog4cpp_1_1Appender.html" title="Implement this interface for your own strategies for printing log statements.">Appender</a>. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="09fd2a7ee5e43f3f203483f0eaf023d7"></a><!-- doxytag: member="log4cpp::AppenderSkeleton::~AppenderSkeleton" ref="09fd2a7ee5e43f3f203483f0eaf023d7" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">log4cpp::AppenderSkeleton::~AppenderSkeleton </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Destructor for <a class="el" href="classlog4cpp_1_1AppenderSkeleton.html" title="AppenderSkeleton is a helper class, simplifying implementation of Appenders: it already...">AppenderSkeleton</a>.
<p>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="65d7e244dc5839a59708165ee354c34a"></a><!-- doxytag: member="log4cpp::AppenderSkeleton::doAppend" ref="65d7e244dc5839a59708165ee354c34a" args="(const LoggingEvent &event)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void log4cpp::AppenderSkeleton::doAppend </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structlog4cpp_1_1LoggingEvent.html">LoggingEvent</a> & </td>
<td class="paramname"> <em>event</em> </td>
<td> ) </td>
<td width="100%"><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Log in <a class="el" href="classlog4cpp_1_1Appender.html" title="Implement this interface for your own strategies for printing log statements.">Appender</a> specific way.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The <a class="el" href="structlog4cpp_1_1LoggingEvent.html" title="The internal representation of logging events.">LoggingEvent</a> to log. </td></tr>
</table>
</dl>
<p>
Implements <a class="el" href="classlog4cpp_1_1Appender.html#d867da8a98bfee7e7aa9ade86044a1d6">log4cpp::Appender</a>.
</div>
</div><p>
<a class="anchor" name="1f61281caac83409db298b681635e029"></a><!-- doxytag: member="log4cpp::AppenderSkeleton::reopen" ref="1f61281caac83409db298b681635e029" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool log4cpp::AppenderSkeleton::reopen </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Reopens the output destination of this <a class="el" href="classlog4cpp_1_1Appender.html" title="Implement this interface for your own strategies for printing log statements.">Appender</a>, e.g.
<p>
the logfile or TCP socket. <dl class="return" compact><dt><b>Returns:</b></dt><dd>false if an error occured during reopening, true otherwise. </dd></dl>
<p>
Implements <a class="el" href="classlog4cpp_1_1Appender.html#871a9ce1d8a3df62713fdb96e7a89788">log4cpp::Appender</a>.
<p>
Reimplemented in <a class="el" href="classlog4cpp_1_1AbortAppender.html#bdc954ee11e448f441d116c58e6f4332">log4cpp::AbortAppender</a>, <a class="el" href="classlog4cpp_1_1FileAppender.html#dc5a6091d98e5aee1cb990e9fedaf946">log4cpp::FileAppender</a>, <a class="el" href="classlog4cpp_1_1IdsaAppender.html#172e815c9302281f3248d95a5bfa73d6">log4cpp::IdsaAppender</a>, <a class="el" href="classlog4cpp_1_1NTEventLogAppender.html#3a32bf3a45c37c7d9caa4b6997e0a79c">log4cpp::NTEventLogAppender</a>, <a class="el" href="classlog4cpp_1_1OstreamAppender.html#283e524fdb7eab911c273b20619b09dd">log4cpp::OstreamAppender</a>, <a class="el" href="classlog4cpp_1_1RemoteSyslogAppender.html#499b6b3a7052860d8ac582492d8f51d7">log4cpp::RemoteSyslogAppender</a>, <a class="el" href="classlog4cpp_1_1StringQueueAppender.html#e666ab5d75d3a7feb80e281ce6a4844b">log4cpp::StringQueueAppender</a>, and <a class="el" href="classlog4cpp_1_1SyslogAppender.html#85b701a0503050eabd5cca763bbf0b0c">log4cpp::SyslogAppender</a>.
</div>
</div><p>
<a class="anchor" name="c62f94c6692fd146fcf37455d3e73439"></a><!-- doxytag: member="log4cpp::AppenderSkeleton::close" ref="c62f94c6692fd146fcf37455d3e73439" args="()=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void log4cpp::AppenderSkeleton::close </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Release any resources allocated within the appender such as file handles, network connections, etc.
<p>
<p>
Implements <a class="el" href="classlog4cpp_1_1Appender.html#099f23b51c06a0fa13a9e15da05d156f">log4cpp::Appender</a>.
<p>
Implemented in <a class="el" href="classlog4cpp_1_1AbortAppender.html#c702ba090f6863d540fc1d27047e9300">log4cpp::AbortAppender</a>, <a class="el" href="classlog4cpp_1_1BufferingAppender.html#98235e5bb50c2bf509d29626affdafc5">log4cpp::BufferingAppender</a>, <a class="el" href="classlog4cpp_1_1FileAppender.html#b76d4e1ff38513f30e83d19df6069e99">log4cpp::FileAppender</a>, <a class="el" href="classlog4cpp_1_1IdsaAppender.html#135ad229b96bbdb9a34ea898cb317246">log4cpp::IdsaAppender</a>, <a class="el" href="classlog4cpp_1_1NTEventLogAppender.html#1698efc63fa84455b0bd1c6b5a42a0f8">log4cpp::NTEventLogAppender</a>, <a class="el" href="classlog4cpp_1_1OstreamAppender.html#6eca1004256920485cbc51fc0e8a7ac2">log4cpp::OstreamAppender</a>, <a class="el" href="classlog4cpp_1_1RemoteSyslogAppender.html#61b6d2ff5c3b99714e57ce3569ff0e52">log4cpp::RemoteSyslogAppender</a>, <a class="el" href="classlog4cpp_1_1StringQueueAppender.html#5a00a484e9476692f3e1378e3630c3ab">log4cpp::StringQueueAppender</a>, <a class="el" href="classlog4cpp_1_1SyslogAppender.html#add9fc06a928ae8f25a935217dda3aac">log4cpp::SyslogAppender</a>, and <a class="el" href="classlog4cpp_1_1Win32DebugAppender.html#ba78360b0f6b186ecca8496ac055348f">log4cpp::Win32DebugAppender</a>.
</div>
</div><p>
<a class="anchor" name="2c56b0118614086644df4cd37408ca02"></a><!-- doxytag: member="log4cpp::AppenderSkeleton::requiresLayout" ref="2c56b0118614086644df4cd37408ca02" args="() const=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual bool log4cpp::AppenderSkeleton::requiresLayout </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"> const<code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Check if the appender uses a layout.
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true if the appender implementation requires a layout. </dd></dl>
<p>
Implements <a class="el" href="classlog4cpp_1_1Appender.html#68c69b52e66ebe9d2c1e2f60766d6182">log4cpp::Appender</a>.
<p>
Implemented in <a class="el" href="classlog4cpp_1_1AbortAppender.html#e814b7c2045a5e58bf751caf25a38fbe">log4cpp::AbortAppender</a>, <a class="el" href="classlog4cpp_1_1IdsaAppender.html#a18224bdc97c490237ccf7219637fd76">log4cpp::IdsaAppender</a>, <a class="el" href="classlog4cpp_1_1LayoutAppender.html#0c14651f4d6a734619034701904783c0">log4cpp::LayoutAppender</a>, and <a class="el" href="classlog4cpp_1_1NTEventLogAppender.html#0b7137f2fee5ebcab0302e39d9162c5a">log4cpp::NTEventLogAppender</a>.
</div>
</div><p>
<a class="anchor" name="5d1136572a006239935c4264beb07065"></a><!-- doxytag: member="log4cpp::AppenderSkeleton::setLayout" ref="5d1136572a006239935c4264beb07065" args="(Layout *layout)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void log4cpp::AppenderSkeleton::setLayout </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classlog4cpp_1_1Layout.html">Layout</a> * </td>
<td class="paramname"> <em>layout</em> </td>
<td> ) </td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set the <a class="el" href="classlog4cpp_1_1Layout.html" title="Extend this abstract class to create your own log layout format.">Layout</a> for this appender.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>layout</em> </td><td>The layout to use. </td></tr>
</table>
</dl>
<p>
Implements <a class="el" href="classlog4cpp_1_1Appender.html#1441643bec0395e206106c26424f123e">log4cpp::Appender</a>.
<p>
Implemented in <a class="el" href="classlog4cpp_1_1AbortAppender.html#1a2a7c90fdf181927d7fe20dc86fc3de">log4cpp::AbortAppender</a>, <a class="el" href="classlog4cpp_1_1IdsaAppender.html#87ee94d1def5322bda4749c3880cca49">log4cpp::IdsaAppender</a>, <a class="el" href="classlog4cpp_1_1LayoutAppender.html#a12073260a58276f9f43a75cb7b93b68">log4cpp::LayoutAppender</a>, and <a class="el" href="classlog4cpp_1_1NTEventLogAppender.html#4223739ba7ff0ae8a06bb2bea6794541">log4cpp::NTEventLogAppender</a>.
</div>
</div><p>
<a class="anchor" name="8f50959239bc9cfd6d32b4522897b904"></a><!-- doxytag: member="log4cpp::AppenderSkeleton::setThreshold" ref="8f50959239bc9cfd6d32b4522897b904" args="(Priority::Value priority)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void log4cpp::AppenderSkeleton::setThreshold </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classlog4cpp_1_1Priority.html#19c2e47a94a531d3028f7c545671ff72">Priority::Value</a> </td>
<td class="paramname"> <em>priority</em> </td>
<td> ) </td>
<td width="100%"><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set the threshold priority of this <a class="el" href="classlog4cpp_1_1Appender.html" title="Implement this interface for your own strategies for printing log statements.">Appender</a>.
<p>
The <a class="el" href="classlog4cpp_1_1Appender.html" title="Implement this interface for your own strategies for printing log statements.">Appender</a> will not appender LoggingEvents with a priority lower than the threshold. Use <a class="el" href="classlog4cpp_1_1Priority.html#e1b1901a7b2bea8190b286684eecc1afebdf006bbefb65f1d654594992ac4e4f">Priority::NOTSET</a> to disable threshold checking. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>priority</em> </td><td>The priority to set. </td></tr>
</table>
</dl>
<p>
Implements <a class="el" href="classlog4cpp_1_1Appender.html#fdd2104b7b67038d2641e286cb6663a4">log4cpp::Appender</a>.
</div>
</div><p>
<a class="anchor" name="8bcc50c73bdfe29255b66445f32f27be"></a><!-- doxytag: member="log4cpp::AppenderSkeleton::getThreshold" ref="8bcc50c73bdfe29255b66445f32f27be" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classlog4cpp_1_1Priority.html#19c2e47a94a531d3028f7c545671ff72">Priority::Value</a> log4cpp::AppenderSkeleton::getThreshold </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the threshold priority of this <a class="el" href="classlog4cpp_1_1Appender.html" title="Implement this interface for your own strategies for printing log statements.">Appender</a>.
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the threshold </dd></dl>
<p>
Implements <a class="el" href="classlog4cpp_1_1Appender.html#4c9bd82f6c58f4c57cb97b6abda6d4ce">log4cpp::Appender</a>.
</div>
</div><p>
<a class="anchor" name="ae9c4841aa5558161ea77d8306e40e92"></a><!-- doxytag: member="log4cpp::AppenderSkeleton::setFilter" ref="ae9c4841aa5558161ea77d8306e40e92" args="(Filter *filter)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void log4cpp::AppenderSkeleton::setFilter </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> * </td>
<td class="paramname"> <em>filter</em> </td>
<td> ) </td>
<td width="100%"><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Set a <a class="el" href="classlog4cpp_1_1Filter.html" title="Users should extend this class to implement customized logging event filtering.">Filter</a> for this appender.
<p>
<p>
Implements <a class="el" href="classlog4cpp_1_1Appender.html#39430bb2b1fb1d6c4398b377a699a932">log4cpp::Appender</a>.
</div>
</div><p>
<a class="anchor" name="d073e3d9c2b68d5fc2341de9b0242114"></a><!-- doxytag: member="log4cpp::AppenderSkeleton::getFilter" ref="d073e3d9c2b68d5fc2341de9b0242114" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classlog4cpp_1_1Filter.html">Filter</a> * log4cpp::AppenderSkeleton::getFilter </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Get the <a class="el" href="classlog4cpp_1_1Filter.html" title="Users should extend this class to implement customized logging event filtering.">Filter</a> for this appender.
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the filter, or NULL if no filter has been set. </dd></dl>
<p>
Implements <a class="el" href="classlog4cpp_1_1Appender.html#53f4ff3295465c1691cb8095cd0a558c">log4cpp::Appender</a>.
</div>
</div><p>
<a class="anchor" name="643fb2614192ea09b502a3feb27abe66"></a><!-- doxytag: member="log4cpp::AppenderSkeleton::_append" ref="643fb2614192ea09b502a3feb27abe66" args="(const LoggingEvent &event)=0" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual void log4cpp::AppenderSkeleton::_append </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structlog4cpp_1_1LoggingEvent.html">LoggingEvent</a> & </td>
<td class="paramname"> <em>event</em> </td>
<td> ) </td>
<td width="100%"><code> [protected, pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Log in <a class="el" href="classlog4cpp_1_1Appender.html" title="Implement this interface for your own strategies for printing log statements.">Appender</a> specific way.
<p>
Subclasses of <a class="el" href="classlog4cpp_1_1Appender.html" title="Implement this interface for your own strategies for printing log statements.">Appender</a> should implement this method to perform actual logging. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The <a class="el" href="structlog4cpp_1_1LoggingEvent.html" title="The internal representation of logging events.">LoggingEvent</a> to log. </td></tr>
</table>
</dl>
<p>
Implemented in <a class="el" href="classlog4cpp_1_1AbortAppender.html#d0e4b9e412cd52ed1c6023a9f9e4b7ff">log4cpp::AbortAppender</a>, <a class="el" href="classlog4cpp_1_1BufferingAppender.html#b395e9b02499541605e3efc4693df891">log4cpp::BufferingAppender</a>, <a class="el" href="classlog4cpp_1_1FileAppender.html#16922adcd64137ca9d87ab2b2f250d0d">log4cpp::FileAppender</a>, <a class="el" href="classlog4cpp_1_1IdsaAppender.html#5cbc7e007120590955aef80072b8065b">log4cpp::IdsaAppender</a>, <a class="el" href="classlog4cpp_1_1NTEventLogAppender.html#8bf051479f15eb79bcfdca9d89882188">log4cpp::NTEventLogAppender</a>, <a class="el" href="classlog4cpp_1_1OstreamAppender.html#72115c5fabbef8687a2bc9f8b0ef6679">log4cpp::OstreamAppender</a>, <a class="el" href="classlog4cpp_1_1RemoteSyslogAppender.html#d21e7aac387f546251bbe24ae6a1ba03">log4cpp::RemoteSyslogAppender</a>, <a class="el" href="classlog4cpp_1_1RollingFileAppender.html#5f12f7246967c746cf70b89022fb5cbb">log4cpp::RollingFileAppender</a>, <a class="el" href="classlog4cpp_1_1StringQueueAppender.html#26091b72e69ac6257e47aea0d91d7ea9">log4cpp::StringQueueAppender</a>, <a class="el" href="classlog4cpp_1_1SyslogAppender.html#5a6d3f83e85c83f3105ad7829fe1d3c0">log4cpp::SyslogAppender</a>, and <a class="el" href="classlog4cpp_1_1Win32DebugAppender.html#d0c0782825056ec8ee7d72d5361227d5">log4cpp::Win32DebugAppender</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="AppenderSkeleton_8hh-source.html">AppenderSkeleton.hh</a><li><a class="el" href="AppenderSkeleton_8cpp.html">AppenderSkeleton.cpp</a></ul>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Sep 3 11:55:03 2007 for log4cpp by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
</body>
</html>
|