⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classlog4cpp_1_1basiclayout.html

📁 log4cpp 的参考文档, 一个非常好用的C++ log 类库
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>log4cpp: log4cpp::BasicLayout Class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.2 --><div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div><div class="nav"><a class="el" href="namespacelog4cpp.html">log4cpp</a>::<a class="el" href="classlog4cpp_1_1BasicLayout.html">BasicLayout</a></div><h1>log4cpp::BasicLayout Class Reference</h1><a class="el" href="classlog4cpp_1_1BasicLayout.html">BasicLayout</a> is a simple fixed format <a class="el" href="classlog4cpp_1_1Layout.html">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>Inheritance diagram for log4cpp::BasicLayout:<p><center><img src="classlog4cpp_1_1BasicLayout__inherit__graph.png" border="0" usemap="#log4cpp_1_1BasicLayout__inherit__map" alt="Inheritance graph"></center><map name="log4cpp_1_1BasicLayout__inherit__map"><area href="classlog4cpp_1_1Layout.html" shape="rect" coords="24,9,138,33" alt=""></map><center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for log4cpp::BasicLayout:<p><center><img src="classlog4cpp_1_1BasicLayout__coll__graph.png" border="0" usemap="#log4cpp_1_1BasicLayout__coll__map" alt="Collaboration graph"></center><map name="log4cpp_1_1BasicLayout__coll__map"><area href="classlog4cpp_1_1Layout.html" shape="rect" coords="24,9,138,33" alt=""></map><center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><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#a0">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#a1">~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#a2">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">LoggingEvent</a> in <a class="el" href="classlog4cpp_1_1BasicLayout.html">BasicLayout</a> style:<br> "timeStamp priority category ndc: message".  <a href="#a2"></a><br></td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2><a class="el" href="classlog4cpp_1_1BasicLayout.html">BasicLayout</a> is a simple fixed format <a class="el" href="classlog4cpp_1_1Layout.html">Layout</a> implementation. <p><hr><h2>Constructor &amp; Destructor Documentation</h2><a class="anchor" name="a0" doxytag="log4cpp::BasicLayout::BasicLayout"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">log4cpp::BasicLayout::BasicLayout           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a class="anchor" name="a1" doxytag="log4cpp::BasicLayout::~BasicLayout"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">log4cpp::BasicLayout::~BasicLayout           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a class="anchor" name="a2" doxytag="log4cpp::BasicLayout::format"></a><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top">std::string log4cpp::BasicLayout::format           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="structlog4cpp_1_1LoggingEvent.html">LoggingEvent</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap> <em>event</em>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Formats the <a class="el" href="structlog4cpp_1_1LoggingEvent.html">LoggingEvent</a> in <a class="el" href="classlog4cpp_1_1BasicLayout.html">BasicLayout</a> style:<br> "timeStamp priority category ndc: message". <p><p>Implements <a class="el" href="classlog4cpp_1_1Layout.html#a1">log4cpp::Layout</a>.    </td>  </tr></table><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><hr size="1"><address style="align: right;"><small>Generated on Fri Jul 29 14:12:11 2005 for log4cpp by&nbsp;<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.2 </small></address></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -