Sophie

Sophie

distrib > Fedora > 16 > x86_64 > by-pkgid > ef445f0ce4be1c28e0c51502e9156d24 > files > 265

log4cxx-devel-0.10.0-10.fc15.x86_64.rpm

<!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"/>
<title>Apache log4cxx: TTCCLayout Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">Apache log4cxx&#160;<span id="projectnumber">Version 0.10.0</span></div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <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>
    </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>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classlog4cxx_1_1_t_t_c_c_layout.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<h1>TTCCLayout Class Reference</h1>  </div>
</div>
<div class="contents">
<!-- doxytag: class="log4cxx::TTCCLayout" --><!-- doxytag: inherits="log4cxx::helpers::DateLayout" -->
<p>TTCC layout format consists of time, thread, logger name and nested diagnostic context information, hence the name.  
<a href="#_details">More...</a></p>

<p>Inherits <a class="el" href="classlog4cxx_1_1helpers_1_1_date_layout.html">log4cxx::helpers::DateLayout</a>.</p>

<p><a href="classlog4cxx_1_1_t_t_c_c_layout-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html#af75f9756dfa6a699cb6ba4ccb64b6221">TTCCLayout</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Instantiate a <a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html" title="TTCC layout format consists of time, thread, logger name and nested diagnostic context information...">TTCCLayout</a> object with <a class="el" href="classlog4cxx_1_1helpers_1_1_relative_time_date_format.html">RelativeTimeDateFormat</a> as the date formatter in the local time zone.  <a href="#af75f9756dfa6a699cb6ba4ccb64b6221"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html#a33e8daab205e6ddf7c8dadcc3e1e12ac">TTCCLayout</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;dateFormatType)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Instantiate a <a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html" title="TTCC layout format consists of time, thread, logger name and nested diagnostic context information...">TTCCLayout</a> object using the local time zone.  <a href="#a33e8daab205e6ddf7c8dadcc3e1e12ac"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html#a67fa28547ba5dd45a9307b5efdaf9237">setThreadPrinting</a> (bool threadPrinting1)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <b>ThreadPrinting</b> option specifies whether the name of the current thread is part of log output or not.  <a href="#a67fa28547ba5dd45a9307b5efdaf9237"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html#a1ebb9cc9cb5d96d53e7a5310a0690ccd">getThreadPrinting</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>ThreadPrinting</b> option.  <a href="#a1ebb9cc9cb5d96d53e7a5310a0690ccd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html#aa15d3193840f73ecb74d85a722b8c052">setCategoryPrefixing</a> (bool categoryPrefixing1)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <b>CategoryPrefixing</b> option specifies whether <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> name is part of log output or not.  <a href="#aa15d3193840f73ecb74d85a722b8c052"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html#a82c1fa525dc83c51d3c9a01d1843897e">getCategoryPrefixing</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>CategoryPrefixing</b> option.  <a href="#a82c1fa525dc83c51d3c9a01d1843897e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html#ab84d08080b826fa6790b296a6e426da4">setContextPrinting</a> (bool contextPrinting1)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <b>ContextPrinting</b> option specifies log output will include the nested context information belonging to the current thread.  <a href="#ab84d08080b826fa6790b296a6e426da4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html#a290d7cadda71887e7998a289ba7c1a77">getContextPrinting</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>ContextPrinting</b> option.  <a href="#a290d7cadda71887e7998a289ba7c1a77"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html#a6d37c7e54e788512256b6efb6b3a0dde">setFilePrinting</a> (bool filePrinting1)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <b>FilePrinting</b> option specifies log output will include the file and the line where the log statement was written.  <a href="#a6d37c7e54e788512256b6efb6b3a0dde"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html#a08fc7e62ca8dd4ad7b56c060894af0b9">getFilePrinting</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>ContextPrinting</b> option.  <a href="#a08fc7e62ca8dd4ad7b56c060894af0b9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html#a79cba5d2db27cc6537de868018b72d9c">format</a> (<a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;output, const <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">spi::LoggingEventPtr</a> &amp;event, <a class="el" href="classlog4cxx_1_1helpers_1_1_pool.html">log4cxx::helpers::Pool</a> &amp;pool) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">In addition to the level of the statement and message, this function writes to the ouput stream time, thread, logger and <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;...">NDC</a> information.  <a href="#a79cba5d2db27cc6537de868018b72d9c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html#a5796c8d5c4ed8ceae2cb9ebb1db75518">ignoresThrowable</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The <a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html" title="TTCC layout format consists of time, thread, logger name and nested diagnostic context information...">TTCCLayout</a> does not handle the throwable contained within <a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html">LoggingEvents</a>.  <a href="#a5796c8d5c4ed8ceae2cb9ebb1db75518"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>TTCC layout format consists of time, thread, logger name and nested diagnostic context information, hence the name. </p>
<p>Each of the four fields can be individually enabled or disabled. The time format depends on the <code>DateFormat</code> used.</p>
<p>Here is an example <a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html" title="TTCC layout format consists of time, thread, logger name and nested diagnostic context information...">TTCCLayout</a> output with the <a class="el" href="classlog4cxx_1_1helpers_1_1_relative_time_date_format.html">RelativeTimeDateFormat</a>.</p>
<pre>
    176 [main] INFO  examples.Sort - Populating an array of 2 elements in reverse order.
    225 [main] INFO  examples.SortAlgo - Entered the sort method.
    262 [main] DEBUG examples.SortAlgo.OUTER i=1 - Outer loop.
    276 [main] DEBUG examples.SortAlgo.SWAP i=1 j=0 - Swapping intArray[0] = 1 and intArray[1] = 0
    290 [main] DEBUG examples.SortAlgo.OUTER i=0 - Outer loop.
    304 [main] INFO  examples.SortAlgo.DUMP - Dump of interger array:
    317 [main] INFO  examples.SortAlgo.DUMP - Element [0] = 0
    331 [main] INFO  examples.SortAlgo.DUMP - Element [1] = 1
    343 [main] INFO  examples.Sort - The next log statement should be an error message.
    346 [main] ERROR examples.SortAlgo.DUMP - Tried to dump an uninitialized array.
    467 [main] INFO  examples.Sort - Exiting main method.
    </pre><p>The first field is the number of milliseconds elapsed since the start of the program. The second field is the thread outputting the log statement. The third field is the level, the fourth field is the logger to which the statement belongs.</p>
<p>The fifth field (just before the '-') is the nested diagnostic context. Note the nested diagnostic context may be empty as in the first two statements. The text after the '-' is the message of the statement.</p>
<p><b>WARNING</b> Do not use the same <a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html" title="TTCC layout format consists of time, thread, logger name and nested diagnostic context information...">TTCCLayout</a> instance from within different appenders. The <a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html" title="TTCC layout format consists of time, thread, logger name and nested diagnostic context information...">TTCCLayout</a> is not thread safe when used in his way. However, it is perfectly safe to use a <a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html" title="TTCC layout format consists of time, thread, logger name and nested diagnostic context information...">TTCCLayout</a> instance from just one appender.</p>
<p><a class="el" href="classlog4cxx_1_1_pattern_layout.html" title="A flexible layout configurable with pattern string.">PatternLayout</a> offers a much more flexible alternative. </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af75f9756dfa6a699cb6ba4ccb64b6221"></a><!-- doxytag: member="log4cxx::TTCCLayout::TTCCLayout" ref="af75f9756dfa6a699cb6ba4ccb64b6221" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html">TTCCLayout</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Instantiate a <a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html" title="TTCC layout format consists of time, thread, logger name and nested diagnostic context information...">TTCCLayout</a> object with <a class="el" href="classlog4cxx_1_1helpers_1_1_relative_time_date_format.html">RelativeTimeDateFormat</a> as the date formatter in the local time zone. </p>

</div>
</div>
<a class="anchor" id="a33e8daab205e6ddf7c8dadcc3e1e12ac"></a><!-- doxytag: member="log4cxx::TTCCLayout::TTCCLayout" ref="a33e8daab205e6ddf7c8dadcc3e1e12ac" args="(const LogString &amp;dateFormatType)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html">TTCCLayout</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
          <td class="paramname"><em>dateFormatType</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Instantiate a <a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html" title="TTCC layout format consists of time, thread, logger name and nested diagnostic context information...">TTCCLayout</a> object using the local time zone. </p>
<p>The DateFormat used will depend on the <code>dateFormatType</code>. </p>
<p>This constructor just calls the <a class="el" href="classlog4cxx_1_1helpers_1_1_date_layout.html#a7f7ef38b2c36b1f530a4da63458a1e54">DateLayout::setDateFormat</a> method. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a79cba5d2db27cc6537de868018b72d9c"></a><!-- doxytag: member="log4cxx::TTCCLayout::format" ref="a79cba5d2db27cc6537de868018b72d9c" args="(LogString &amp;output, const spi::LoggingEventPtr &amp;event, log4cxx::helpers::Pool &amp;pool) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void format </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td>
          <td class="paramname"><em>output</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classlog4cxx_1_1helpers_1_1_object_ptr_t.html">spi::LoggingEventPtr</a> &amp;&#160;</td>
          <td class="paramname"><em>event</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classlog4cxx_1_1helpers_1_1_pool.html">log4cxx::helpers::Pool</a> &amp;&#160;</td>
          <td class="paramname"><em>pool</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>In addition to the level of the statement and message, this function writes to the ouput stream time, thread, logger and <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;...">NDC</a> information. </p>
<p>Time, thread, logger and diagnostic context are printed depending on options.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">output</td><td>destination to receive formatted output. </td></tr>
    <tr><td class="paramname">event</td><td>event to format. </td></tr>
    <tr><td class="paramname">pool</td><td>pool used to allocate memory needed during formatting. </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classlog4cxx_1_1_layout.html#aefcaf353e4b45b21fc47b7e25410f8ff">Layout</a>.</p>

</div>
</div>
<a class="anchor" id="a82c1fa525dc83c51d3c9a01d1843897e"></a><!-- doxytag: member="log4cxx::TTCCLayout::getCategoryPrefixing" ref="a82c1fa525dc83c51d3c9a01d1843897e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool getCategoryPrefixing </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns value of the <b>CategoryPrefixing</b> option. </p>

</div>
</div>
<a class="anchor" id="a290d7cadda71887e7998a289ba7c1a77"></a><!-- doxytag: member="log4cxx::TTCCLayout::getContextPrinting" ref="a290d7cadda71887e7998a289ba7c1a77" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool getContextPrinting </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns value of the <b>ContextPrinting</b> option. </p>

</div>
</div>
<a class="anchor" id="a08fc7e62ca8dd4ad7b56c060894af0b9"></a><!-- doxytag: member="log4cxx::TTCCLayout::getFilePrinting" ref="a08fc7e62ca8dd4ad7b56c060894af0b9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool getFilePrinting </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns value of the <b>ContextPrinting</b> option. </p>

</div>
</div>
<a class="anchor" id="a1ebb9cc9cb5d96d53e7a5310a0690ccd"></a><!-- doxytag: member="log4cxx::TTCCLayout::getThreadPrinting" ref="a1ebb9cc9cb5d96d53e7a5310a0690ccd" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool getThreadPrinting </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns value of the <b>ThreadPrinting</b> option. </p>

</div>
</div>
<a class="anchor" id="a5796c8d5c4ed8ceae2cb9ebb1db75518"></a><!-- doxytag: member="log4cxx::TTCCLayout::ignoresThrowable" ref="a5796c8d5c4ed8ceae2cb9ebb1db75518" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool ignoresThrowable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html" title="TTCC layout format consists of time, thread, logger name and nested diagnostic context information...">TTCCLayout</a> does not handle the throwable contained within <a class="el" href="classlog4cxx_1_1spi_1_1_logging_event.html">LoggingEvents</a>. </p>
<p>Thus, it returns <code>true</code>. </p>

<p>Implements <a class="el" href="classlog4cxx_1_1_layout.html#a7d46cce1553abd1ecb65fe6c5761fbd2">Layout</a>.</p>

</div>
</div>
<a class="anchor" id="aa15d3193840f73ecb74d85a722b8c052"></a><!-- doxytag: member="log4cxx::TTCCLayout::setCategoryPrefixing" ref="aa15d3193840f73ecb74d85a722b8c052" args="(bool categoryPrefixing1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setCategoryPrefixing </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>categoryPrefixing1</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <b>CategoryPrefixing</b> option specifies whether <a class="el" href="classlog4cxx_1_1_logger.html" title="This is the central class in the log4cxx package.">Logger</a> name is part of log output or not. </p>
<p>This is true by default. </p>

</div>
</div>
<a class="anchor" id="ab84d08080b826fa6790b296a6e426da4"></a><!-- doxytag: member="log4cxx::TTCCLayout::setContextPrinting" ref="ab84d08080b826fa6790b296a6e426da4" args="(bool contextPrinting1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setContextPrinting </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>contextPrinting1</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <b>ContextPrinting</b> option specifies log output will include the nested context information belonging to the current thread. </p>
<p>This is true by default. </p>

</div>
</div>
<a class="anchor" id="a6d37c7e54e788512256b6efb6b3a0dde"></a><!-- doxytag: member="log4cxx::TTCCLayout::setFilePrinting" ref="a6d37c7e54e788512256b6efb6b3a0dde" args="(bool filePrinting1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setFilePrinting </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>filePrinting1</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <b>FilePrinting</b> option specifies log output will include the file and the line where the log statement was written. </p>

</div>
</div>
<a class="anchor" id="a67fa28547ba5dd45a9307b5efdaf9237"></a><!-- doxytag: member="log4cxx::TTCCLayout::setThreadPrinting" ref="a67fa28547ba5dd45a9307b5efdaf9237" args="(bool threadPrinting1)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void setThreadPrinting </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>threadPrinting1</em></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The <b>ThreadPrinting</b> option specifies whether the name of the current thread is part of log output or not. </p>
<p>This is true by default. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="ttcclayout_8h.html">ttcclayout.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespacelog4cxx.html">log4cxx</a>      </li>
      <li class="navelem"><a class="el" href="classlog4cxx_1_1_t_t_c_c_layout.html">TTCCLayout</a>      </li>
<!--
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>