Sophie

Sophie

distrib > Fedora > 14 > x86_64 > by-pkgid > 5fc82cd2dfd40b1b8acca39dd2860281 > files > 179

log4cpp-1.0-4.fc12.i686.rpm

<!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::BasicLayout Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</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>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacelog4cpp.html">log4cpp</a>::<a class="el" href="classlog4cpp_1_1BasicLayout.html">BasicLayout</a>
  </div>
</div>
<div class="contents">
<h1>log4cpp::BasicLayout Class Reference</h1><!-- doxytag: class="log4cpp::BasicLayout" --><!-- doxytag: inherits="log4cpp::Layout" --><a class="el" href="classlog4cpp_1_1BasicLayout.html" title="BasicLayout is a simple fixed format Layout implementation.">BasicLayout</a> is a simple fixed format <a class="el" href="classlog4cpp_1_1Layout.html" title="Extend this abstract class to create your own log layout format.">Layout</a> implementation.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="BasicLayout_8hh_source.html">BasicLayout.hh</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for log4cpp::BasicLayout:</div>
<div class="dynsection">

<p><center><img src="classlog4cpp_1_1BasicLayout.png" usemap="#log4cpp::BasicLayout_map" border="0" alt=""></center>
<map name="log4cpp::BasicLayout_map">
<area href="classlog4cpp_1_1Layout.html" alt="log4cpp::Layout" shape="rect" coords="0,0,132,24">
</map>
</div>

<p>
<a href="classlog4cpp_1_1BasicLayout-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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1BasicLayout.html#e04997199960f8f9f311e0028a5f7848">BasicLayout</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1BasicLayout.html#d47010323892697a5a4b1ca31dca98d3">~BasicLayout</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cpp_1_1BasicLayout.html#5cab336d9553c1a0b16ceac157138026">format</a> (const <a class="el" href="structlog4cpp_1_1LoggingEvent.html">LoggingEvent</a> &amp;event)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Formats the <a class="el" href="structlog4cpp_1_1LoggingEvent.html" title="The internal representation of logging events.">LoggingEvent</a> in <a class="el" href="classlog4cpp_1_1BasicLayout.html" title="BasicLayout is a simple fixed format Layout implementation.">BasicLayout</a> style:<br>
 "timeStamp priority category ndc: message".  <a href="#5cab336d9553c1a0b16ceac157138026"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<a class="el" href="classlog4cpp_1_1BasicLayout.html" title="BasicLayout is a simple fixed format Layout implementation.">BasicLayout</a> is a simple fixed format <a class="el" href="classlog4cpp_1_1Layout.html" title="Extend this abstract class to create your own log layout format.">Layout</a> implementation. <hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="e04997199960f8f9f311e0028a5f7848"></a><!-- doxytag: member="log4cpp::BasicLayout::BasicLayout" ref="e04997199960f8f9f311e0028a5f7848" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">log4cpp::BasicLayout::BasicLayout           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="d47010323892697a5a4b1ca31dca98d3"></a><!-- doxytag: member="log4cpp::BasicLayout::~BasicLayout" ref="d47010323892697a5a4b1ca31dca98d3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">log4cpp::BasicLayout::~BasicLayout           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="5cab336d9553c1a0b16ceac157138026"></a><!-- doxytag: member="log4cpp::BasicLayout::format" ref="5cab336d9553c1a0b16ceac157138026" args="(const LoggingEvent &amp;event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string log4cpp::BasicLayout::format           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structlog4cpp_1_1LoggingEvent.html">LoggingEvent</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>event</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Formats the <a class="el" href="structlog4cpp_1_1LoggingEvent.html" title="The internal representation of logging events.">LoggingEvent</a> in <a class="el" href="classlog4cpp_1_1BasicLayout.html" title="BasicLayout is a simple fixed format Layout implementation.">BasicLayout</a> style:<br>
 "timeStamp priority category ndc: message". 
<p>

<p>Implements <a class="el" href="classlog4cpp_1_1Layout.html#b52ceda3222f9102e41720b45ae3a939">log4cpp::Layout</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="BasicLayout_8hh_source.html">BasicLayout.hh</a><li><a class="el" href="BasicLayout_8cpp.html">BasicLayout.cpp</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Sun Jul 26 19:34:50 2009 for log4cpp by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>