blob: 0ae36540c082c36fffd1340abbf8060d55a12f3a [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.11"/>
<title>Apache log4cxx: TTCCLayout 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);
$(window).load(resizeHeight);
</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>
<script type="text/javascript">
$(document).ready(function() { init_search(); });
</script>
<link href="doxygen.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"><a href="http://logging.apache.org/log4cxx">Apache log4cxx</a>
&#160;<span id="projectnumber">Version 0.10.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<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>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</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><!-- 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_1_t_t_c_c_layout.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_1_t_t_c_c_layout-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">TTCCLayout Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>TTCC layout format consists of time, thread, logger name and nested diagnostic context information, hence the name.
<a href="classlog4cxx_1_1_t_t_c_c_layout.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for TTCCLayout:</div>
<div class="dyncontent">
<div class="center">
<img src="classlog4cxx_1_1_t_t_c_c_layout.png" usemap="#TTCCLayout_map" alt=""/>
<map id="TTCCLayout_map" name="TTCCLayout_map">
<area href="classlog4cxx_1_1helpers_1_1_date_layout.html" title="This abstract layout takes care of all the date related options and formatting work. " alt="DateLayout" shape="rect" coords="52,168,146,192"/>
<area href="classlog4cxx_1_1_layout.html" title="Extend this abstract class to create your own log layout format. " alt="Layout" shape="rect" coords="52,112,146,136"/>
<area href="classlog4cxx_1_1spi_1_1_option_handler.html" title="A string based interface to configure package components. " alt="OptionHandler" shape="rect" coords="0,56,94,80"/>
<area href="classlog4cxx_1_1helpers_1_1_object_impl.html" title="Implementation class for Object. " alt="ObjectImpl" shape="rect" coords="104,56,198,80"/>
<area href="classlog4cxx_1_1helpers_1_1_object.html" title="base class for java-like objects. " alt="Object" shape="rect" coords="0,0,94,24"/>
<area href="classlog4cxx_1_1helpers_1_1_object.html" title="base class for java-like objects. " alt="Object" shape="rect" coords="104,0,198,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:af75f9756dfa6a699cb6ba4ccb64b6221"><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 class="memdesc:af75f9756dfa6a699cb6ba4ccb64b6221"><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">More...</a><br /></td></tr>
<tr class="separator:af75f9756dfa6a699cb6ba4ccb64b6221"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33e8daab205e6ddf7c8dadcc3e1e12ac"><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 class="memdesc:a33e8daab205e6ddf7c8dadcc3e1e12ac"><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">More...</a><br /></td></tr>
<tr class="separator:a33e8daab205e6ddf7c8dadcc3e1e12ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67fa28547ba5dd45a9307b5efdaf9237"><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 class="memdesc:a67fa28547ba5dd45a9307b5efdaf9237"><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">More...</a><br /></td></tr>
<tr class="separator:a67fa28547ba5dd45a9307b5efdaf9237"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ebb9cc9cb5d96d53e7a5310a0690ccd"><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 class="memdesc:a1ebb9cc9cb5d96d53e7a5310a0690ccd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>ThreadPrinting</b> option. <a href="#a1ebb9cc9cb5d96d53e7a5310a0690ccd">More...</a><br /></td></tr>
<tr class="separator:a1ebb9cc9cb5d96d53e7a5310a0690ccd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa15d3193840f73ecb74d85a722b8c052"><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 class="memdesc:aa15d3193840f73ecb74d85a722b8c052"><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">More...</a><br /></td></tr>
<tr class="separator:aa15d3193840f73ecb74d85a722b8c052"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82c1fa525dc83c51d3c9a01d1843897e"><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 class="memdesc:a82c1fa525dc83c51d3c9a01d1843897e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>CategoryPrefixing</b> option. <a href="#a82c1fa525dc83c51d3c9a01d1843897e">More...</a><br /></td></tr>
<tr class="separator:a82c1fa525dc83c51d3c9a01d1843897e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab84d08080b826fa6790b296a6e426da4"><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 class="memdesc:ab84d08080b826fa6790b296a6e426da4"><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">More...</a><br /></td></tr>
<tr class="separator:ab84d08080b826fa6790b296a6e426da4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a290d7cadda71887e7998a289ba7c1a77"><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 class="memdesc:a290d7cadda71887e7998a289ba7c1a77"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>ContextPrinting</b> option. <a href="#a290d7cadda71887e7998a289ba7c1a77">More...</a><br /></td></tr>
<tr class="separator:a290d7cadda71887e7998a289ba7c1a77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d37c7e54e788512256b6efb6b3a0dde"><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 class="memdesc:a6d37c7e54e788512256b6efb6b3a0dde"><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">More...</a><br /></td></tr>
<tr class="separator:a6d37c7e54e788512256b6efb6b3a0dde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08fc7e62ca8dd4ad7b56c060894af0b9"><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 class="memdesc:a08fc7e62ca8dd4ad7b56c060894af0b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b>ContextPrinting</b> option. <a href="#a08fc7e62ca8dd4ad7b56c060894af0b9">More...</a><br /></td></tr>
<tr class="separator:a08fc7e62ca8dd4ad7b56c060894af0b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79cba5d2db27cc6537de868018b72d9c"><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="namespacelog4cxx_1_1spi.html#ab5abd68f0fb303c6d5f5f7d1ff49b3a6">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 class="memdesc:a79cba5d2db27cc6537de868018b72d9c"><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;patte...">NDC</a> information. <a href="#a79cba5d2db27cc6537de868018b72d9c">More...</a><br /></td></tr>
<tr class="separator:a79cba5d2db27cc6537de868018b72d9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5796c8d5c4ed8ceae2cb9ebb1db75518"><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 class="memdesc:a5796c8d5c4ed8ceae2cb9ebb1db75518"><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">More...</a><br /></td></tr>
<tr class="separator:a5796c8d5c4ed8ceae2cb9ebb1db75518"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlog4cxx_1_1helpers_1_1_date_layout')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1_date_layout.html">DateLayout</a></td></tr>
<tr class="memitem:a4980f1622f115668d84760966d0280dc inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_date_layout.html#a4980f1622f115668d84760966d0280dc">DateLayout</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;dateLayoutOption)</td></tr>
<tr class="separator:a4980f1622f115668d84760966d0280dc inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c1fa2ff504a9bcc82752f15d0d7d01c inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_date_layout.html#a8c1fa2ff504a9bcc82752f15d0d7d01c">~DateLayout</a> ()</td></tr>
<tr class="separator:a8c1fa2ff504a9bcc82752f15d0d7d01c inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1f3ced78d335ec9c2b800d6d5aa3ef8 inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_date_layout.html#af1f3ced78d335ec9c2b800d6d5aa3ef8">activateOptions</a> (<a class="el" href="classlog4cxx_1_1helpers_1_1_pool.html">log4cxx::helpers::Pool</a> &amp;p)</td></tr>
<tr class="memdesc:af1f3ced78d335ec9c2b800d6d5aa3ef8 inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="mdescLeft">&#160;</td><td class="mdescRight">Activate the options that were previously set with calls to option setters. <a href="#af1f3ced78d335ec9c2b800d6d5aa3ef8">More...</a><br /></td></tr>
<tr class="separator:af1f3ced78d335ec9c2b800d6d5aa3ef8 inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee5023c29cca9dc68164b22a01cb7c6e inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_date_layout.html#aee5023c29cca9dc68164b22a01cb7c6e">setOption</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;option, const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;value)</td></tr>
<tr class="memdesc:aee5023c29cca9dc68164b22a01cb7c6e inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set <code>option</code> to <code>value</code>. <a href="#aee5023c29cca9dc68164b22a01cb7c6e">More...</a><br /></td></tr>
<tr class="separator:aee5023c29cca9dc68164b22a01cb7c6e inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7f7ef38b2c36b1f530a4da63458a1e54 inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_date_layout.html#a7f7ef38b2c36b1f530a4da63458a1e54">setDateFormat</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;dateFormat1)</td></tr>
<tr class="memdesc:a7f7ef38b2c36b1f530a4da63458a1e54 inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="mdescLeft">&#160;</td><td class="mdescRight">The value of the <b><a class="el" href="classlog4cxx_1_1helpers_1_1_date_format.html" title="DateFormat is an abstract class for date/time formatting patterned after java.text.DateFormat. ">DateFormat</a></b> option should be either an argument to the constructor of <a class="el" href="classlog4cxx_1_1helpers_1_1_date_format.html" title="DateFormat is an abstract class for date/time formatting patterned after java.text.DateFormat. ">helpers::DateFormat</a> or one of the strings <b>"NULL"</b>, <b>"RELATIVE"</b>, <b>"ABSOLUTE"</b>, <b>"DATE"</b> or <b>"ISO8601</b>. <a href="#a7f7ef38b2c36b1f530a4da63458a1e54">More...</a><br /></td></tr>
<tr class="separator:a7f7ef38b2c36b1f530a4da63458a1e54 inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4184c4defaf3a8ec47731c47893bd11 inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_date_layout.html#ad4184c4defaf3a8ec47731c47893bd11">getDateFormat</a> () const </td></tr>
<tr class="memdesc:ad4184c4defaf3a8ec47731c47893bd11 inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b><a class="el" href="classlog4cxx_1_1helpers_1_1_date_format.html" title="DateFormat is an abstract class for date/time formatting patterned after java.text.DateFormat. ">DateFormat</a></b> option. <a href="#ad4184c4defaf3a8ec47731c47893bd11">More...</a><br /></td></tr>
<tr class="separator:ad4184c4defaf3a8ec47731c47893bd11 inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a119bd446fc6748a02bedc17f16466549 inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_date_layout.html#a119bd446fc6748a02bedc17f16466549">setTimeZone</a> (const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;timeZone)</td></tr>
<tr class="memdesc:a119bd446fc6748a02bedc17f16466549 inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="mdescLeft">&#160;</td><td class="mdescRight">The <b>TimeZoneID</b> option is a time zone ID string in the format expected by the <code>locale</code> C++ standard class. <a href="#a119bd446fc6748a02bedc17f16466549">More...</a><br /></td></tr>
<tr class="separator:a119bd446fc6748a02bedc17f16466549 inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac83674603203cb08dcfdc681cd940886 inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_date_layout.html#ac83674603203cb08dcfdc681cd940886">getTimeZone</a> () const </td></tr>
<tr class="memdesc:ac83674603203cb08dcfdc681cd940886 inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns value of the <b><a class="el" href="classlog4cxx_1_1helpers_1_1_time_zone.html">TimeZone</a></b> option. <a href="#ac83674603203cb08dcfdc681cd940886">More...</a><br /></td></tr>
<tr class="separator:ac83674603203cb08dcfdc681cd940886 inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbabed22459ea31baf2e35933632721c inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_date_layout.html#abbabed22459ea31baf2e35933632721c">formatDate</a> (<a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;s, const <a class="el" href="namespacelog4cxx_1_1spi.html#ab5abd68f0fb303c6d5f5f7d1ff49b3a6">spi::LoggingEventPtr</a> &amp;event, <a class="el" href="classlog4cxx_1_1helpers_1_1_pool.html">log4cxx::helpers::Pool</a> &amp;p) const </td></tr>
<tr class="separator:abbabed22459ea31baf2e35933632721c inherit pub_methods_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classlog4cxx_1_1_layout"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlog4cxx_1_1_layout')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1_layout.html">Layout</a></td></tr>
<tr class="memitem:a509ff848be1289bfd6ce0ea98dbf6212 inherit pub_methods_classlog4cxx_1_1_layout"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_layout.html#a509ff848be1289bfd6ce0ea98dbf6212">~Layout</a> ()</td></tr>
<tr class="separator:a509ff848be1289bfd6ce0ea98dbf6212 inherit pub_methods_classlog4cxx_1_1_layout"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0198815940c2715c84b0e04828cf8dfa inherit pub_methods_classlog4cxx_1_1_layout"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_layout.html#a0198815940c2715c84b0e04828cf8dfa">addRef</a> () const </td></tr>
<tr class="separator:a0198815940c2715c84b0e04828cf8dfa inherit pub_methods_classlog4cxx_1_1_layout"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55c31efee1904916b999395fa4d46a24 inherit pub_methods_classlog4cxx_1_1_layout"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_layout.html#a55c31efee1904916b999395fa4d46a24">releaseRef</a> () const </td></tr>
<tr class="separator:a55c31efee1904916b999395fa4d46a24 inherit pub_methods_classlog4cxx_1_1_layout"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d61ef61f2aaf3923ef0a16fc6728dc7 inherit pub_methods_classlog4cxx_1_1_layout"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_layout.html#a8d61ef61f2aaf3923ef0a16fc6728dc7">getContentType</a> () const </td></tr>
<tr class="memdesc:a8d61ef61f2aaf3923ef0a16fc6728dc7 inherit pub_methods_classlog4cxx_1_1_layout"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the content type output by this layout. <a href="#a8d61ef61f2aaf3923ef0a16fc6728dc7">More...</a><br /></td></tr>
<tr class="separator:a8d61ef61f2aaf3923ef0a16fc6728dc7 inherit pub_methods_classlog4cxx_1_1_layout"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1b07d688e39f3a8d71acec8f6d7b878 inherit pub_methods_classlog4cxx_1_1_layout"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_layout.html#ad1b07d688e39f3a8d71acec8f6d7b878">appendHeader</a> (<a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;output, <a class="el" href="classlog4cxx_1_1helpers_1_1_pool.html">log4cxx::helpers::Pool</a> &amp;p)</td></tr>
<tr class="memdesc:ad1b07d688e39f3a8d71acec8f6d7b878 inherit pub_methods_classlog4cxx_1_1_layout"><td class="mdescLeft">&#160;</td><td class="mdescRight">Append the header for the layout format. <a href="#ad1b07d688e39f3a8d71acec8f6d7b878">More...</a><br /></td></tr>
<tr class="separator:ad1b07d688e39f3a8d71acec8f6d7b878 inherit pub_methods_classlog4cxx_1_1_layout"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8f7d8f894b39b251cada7674bdfe8d2 inherit pub_methods_classlog4cxx_1_1_layout"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1_layout.html#ae8f7d8f894b39b251cada7674bdfe8d2">appendFooter</a> (<a class="el" href="namespacelog4cxx.html#ad7ec98d27bca7666e23f27dd1fb181c8">LogString</a> &amp;output, <a class="el" href="classlog4cxx_1_1helpers_1_1_pool.html">log4cxx::helpers::Pool</a> &amp;p)</td></tr>
<tr class="memdesc:ae8f7d8f894b39b251cada7674bdfe8d2 inherit pub_methods_classlog4cxx_1_1_layout"><td class="mdescLeft">&#160;</td><td class="mdescRight">Append the footer for the layout format. <a href="#ae8f7d8f894b39b251cada7674bdfe8d2">More...</a><br /></td></tr>
<tr class="separator:ae8f7d8f894b39b251cada7674bdfe8d2 inherit pub_methods_classlog4cxx_1_1_layout"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classlog4cxx_1_1spi_1_1_option_handler"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlog4cxx_1_1spi_1_1_option_handler')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1spi_1_1_option_handler.html">OptionHandler</a></td></tr>
<tr class="memitem:ad773ac49843844af53fe553912ed63e5 inherit pub_methods_classlog4cxx_1_1spi_1_1_option_handler"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1spi_1_1_option_handler.html#ad773ac49843844af53fe553912ed63e5">~OptionHandler</a> ()</td></tr>
<tr class="separator:ad773ac49843844af53fe553912ed63e5 inherit pub_methods_classlog4cxx_1_1spi_1_1_option_handler"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classlog4cxx_1_1helpers_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlog4cxx_1_1helpers_1_1_object')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1_object.html">Object</a></td></tr>
<tr class="memitem:ae7b62e37794f297c0cede40ed0e84fcd inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="classlog4cxx_1_1helpers_1_1_class.html">helpers::Class</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object.html#ae7b62e37794f297c0cede40ed0e84fcd">getClass</a> () const </td></tr>
<tr class="separator:ae7b62e37794f297c0cede40ed0e84fcd inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5cc4f9ba1ea5c2f25bc4b1f0dac5dc5 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object.html#ab5cc4f9ba1ea5c2f25bc4b1f0dac5dc5">~Object</a> ()</td></tr>
<tr class="separator:ab5cc4f9ba1ea5c2f25bc4b1f0dac5dc5 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ab1bb19059c1de23f8a35cdbc0b6a5c inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object.html#a0ab1bb19059c1de23f8a35cdbc0b6a5c">instanceof</a> (const <a class="el" href="classlog4cxx_1_1helpers_1_1_class.html">Class</a> &amp;clazz) const =0</td></tr>
<tr class="separator:a0ab1bb19059c1de23f8a35cdbc0b6a5c inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04b3422e17b0a882538bbc99833ab9df inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><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_1_object.html#a04b3422e17b0a882538bbc99833ab9df">cast</a> (const <a class="el" href="classlog4cxx_1_1helpers_1_1_class.html">Class</a> &amp;clazz) const =0</td></tr>
<tr class="separator:a04b3422e17b0a882538bbc99833ab9df inherit pub_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classlog4cxx_1_1helpers_1_1_object_impl')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html">ObjectImpl</a></td></tr>
<tr class="memitem:a5e6e9fc30dc1f098fee72d516ea0bad0 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html#a5e6e9fc30dc1f098fee72d516ea0bad0">ObjectImpl</a> ()</td></tr>
<tr class="separator:a5e6e9fc30dc1f098fee72d516ea0bad0 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb974728bb3cb991285140c1aa57eed7 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html#abb974728bb3cb991285140c1aa57eed7">~ObjectImpl</a> ()</td></tr>
<tr class="separator:abb974728bb3cb991285140c1aa57eed7 inherit pub_methods_classlog4cxx_1_1helpers_1_1_object_impl"><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_static_methods_classlog4cxx_1_1helpers_1_1_object"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classlog4cxx_1_1helpers_1_1_object')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1_object.html">Object</a></td></tr>
<tr class="memitem:a0bdbda4effe8938c1aca6d4397e5a39d inherit pub_static_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classlog4cxx_1_1helpers_1_1_class.html">helpers::Class</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object.html#a0bdbda4effe8938c1aca6d4397e5a39d">getStaticClass</a> ()</td></tr>
<tr class="separator:a0bdbda4effe8938c1aca6d4397e5a39d inherit pub_static_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50ec9288d0b7e3140dee8e24ee74a212 inherit pub_static_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classlog4cxx_1_1helpers_1_1_class_registration.html">log4cxx::helpers::ClassRegistration</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object.html#a50ec9288d0b7e3140dee8e24ee74a212">registerClass</a> ()</td></tr>
<tr class="separator:a50ec9288d0b7e3140dee8e24ee74a212 inherit pub_static_methods_classlog4cxx_1_1helpers_1_1_object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classlog4cxx_1_1helpers_1_1_date_layout"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classlog4cxx_1_1helpers_1_1_date_layout')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1_date_layout.html">DateLayout</a></td></tr>
<tr class="memitem:a0595fba33539dd3c1f27efd9f8ffe5e6 inherit pro_attribs_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memItemLeft" align="right" valign="top">DateFormatPtr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_date_layout.html#a0595fba33539dd3c1f27efd9f8ffe5e6">dateFormat</a></td></tr>
<tr class="separator:a0595fba33539dd3c1f27efd9f8ffe5e6 inherit pro_attribs_classlog4cxx_1_1helpers_1_1_date_layout"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_attribs_classlog4cxx_1_1helpers_1_1_object_impl"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classlog4cxx_1_1helpers_1_1_object_impl')"><img src="closed.png" alt="-"/>&#160;Protected Attributes inherited from <a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html">ObjectImpl</a></td></tr>
<tr class="memitem:a88f2ae00c84f3f309965e6588ed158d4 inherit pro_attribs_classlog4cxx_1_1helpers_1_1_object_impl"><td class="memItemLeft" align="right" valign="top">unsigned int volatile&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classlog4cxx_1_1helpers_1_1_object_impl.html#a88f2ae00c84f3f309965e6588ed158d4">ref</a></td></tr>
<tr class="separator:a88f2ae00c84f3f309965e6588ed158d4 inherit pro_attribs_classlog4cxx_1_1helpers_1_1_object_impl"><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>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><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="af75f9756dfa6a699cb6ba4ccb64b6221"></a>
<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>
<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>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a79cba5d2db27cc6537de868018b72d9c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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="namespacelog4cxx_1_1spi.html#ab5abd68f0fb303c6d5f5f7d1ff49b3a6">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</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>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;patte...">NDC</a> information. </p>
<p>Time, thread, logger and diagnostic context are printed depending on options.</p>
<dl class="params"><dt>Parameters</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#a6bbb942f47dfb852fe11a6963768a046">Layout</a>.</p>
</div>
</div>
<a class="anchor" id="a82c1fa525dc83c51d3c9a01d1843897e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool getCategoryPrefixing </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </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>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool getContextPrinting </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </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>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool getFilePrinting </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </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>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool getThreadPrinting </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </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>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool ignoresThrowable </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span> </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#a1d057bb4d8c2da05dfa2d61c587f1860">Layout</a>.</p>
</div>
</div>
<a class="anchor" id="aa15d3193840f73ecb74d85a722b8c052"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </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>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </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>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </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>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<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></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </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><!-- contents -->
</div><!-- doc-content -->
<!--
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>