Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 806b8574900c6f644b03d5eb76e60aef > files > 143

log4c-doc-1.2.4-1.fc18.noarch.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"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>log4c: logging_event.h File 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="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 style="padding-left: 0.5em;">
   <div id="projectname">log4c
   &#160;<span id="projectnumber">1.2.4</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_6ba53b81c010ccbbf4e80737d395d27b.html">log4c</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">logging_event.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>the internal representation of logging events.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;log4c/defs.h&gt;</code><br/>
<code>#include &lt;<a class="el" href="buffer_8h_source.html">log4c/buffer.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="location__info_8h_source.html">log4c/location_info.h</a>&gt;</code><br/>
<code>#include &lt;sys/time.h&gt;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for logging_event.h:</div>
<div class="dyncontent">
<div class="center"><img src="logging__event_8h__incl.png" border="0" usemap="#logging__event_8h" alt=""/></div>
<map name="logging__event_8h" id="logging__event_8h">
<area shape="rect" id="node5" href="buffer_8h.html" title="log4c buffer" alt="" coords="188,80,289,107"/><area shape="rect" id="node10" href="location__info_8h.html" title="The internal representation of caller location information." alt="" coords="23,80,164,107"/></map>
</div>
</div><div class="textblock"><div class="dynheader">
This graph shows which files directly or indirectly include this file:</div>
<div class="dyncontent">
<div class="center"><img src="logging__event_8h__dep__incl.png" border="0" usemap="#logging__event_8hdep" alt=""/></div>
<map name="logging__event_8hdep" id="logging__event_8hdep">
<area shape="rect" id="node3" href="layout_8h.html" title="Interface for user specific layout format of log4c_logging_event events." alt="" coords="898,80,965,107"/><area shape="rect" id="node5" href="appender_8h.html" title="Implement this interface for your own strategies for printing log statements." alt="" coords="326,155,412,181"/><area shape="rect" id="node17" href="layout__type__basic_8h.html" title="Implement a basic layout." alt="" coords="437,155,576,181"/><area shape="rect" id="node19" href="layout__type__basic__r_8h.html" title="Implement a basic_r layout." alt="" coords="600,155,749,181"/><area shape="rect" id="node21" href="layout__type__dated_8h.html" title="Implement a dated layout." alt="" coords="773,155,912,181"/><area shape="rect" id="node23" href="layout__type__dated__local_8h.html" title="Implement a dated layout with local time." alt="" coords="936,155,1109,181"/><area shape="rect" id="node25" href="layout__type__dated__local__r_8h.html" title="Implement a dated layout (reentrant) with local time." alt="" coords="1133,155,1317,181"/><area shape="rect" id="node27" href="layout__type__dated__r_8h.html" title="Implement a dated_r layout." alt="" coords="1342,155,1492,181"/><area shape="rect" id="node29" href="rollingpolicy_8h.html" title="Log4c rolling policy interface. Defines the interface for managing and providing rolling policies..." alt="" coords="1517,155,1619,181"/><area shape="rect" id="node7" href="appender__type__mmap_8h.html" title="Log4c mmap(2) appender interface." alt="" coords="5,237,165,264"/><area shape="rect" id="node9" href="appender__type__rollingfile_8h.html" title="Log4c rolling file appender interface." alt="" coords="987,237,1163,264"/><area shape="rect" id="node11" href="appender__type__stream_8h.html" title="Log4c stream appender interface." alt="" coords="191,237,356,264"/><area shape="rect" id="node13" href="appender__type__stream2_8h.html" title="Log4c stream2 appender interface." alt="" coords="381,237,552,264"/><area shape="rect" id="node15" href="appender__type__syslog_8h.html" title="Log4c syslog(3) appender interface." alt="" coords="577,237,740,264"/><area shape="rect" id="node32" href="rollingpolicy__type__sizewin_8h.html" title="Log4c rolling file size&#45;win interface. Log4c ships with (and defaults to) the classic size&#45;window rol..." alt="" coords="1507,230,1629,271"/></map>
</div>
</div>
<p><a href="logging__event_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structlog4c__logging__event__t.html">log4c_logging_event_t</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">logging event object  <a href="structlog4c__logging__event__t.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a89f7abcfd54518fe64150fd71fc76aff"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structlog4c__logging__event__t.html">log4c_logging_event_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="logging__event_8h.html#a89f7abcfd54518fe64150fd71fc76aff">log4c_logging_event_new</a> (const char *a_category, int a_priority, const char *a_message)</td></tr>
<tr class="separator:a89f7abcfd54518fe64150fd71fc76aff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a5ffef7bc1e28e62230ed0c79da7c94"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="logging__event_8h.html#a1a5ffef7bc1e28e62230ed0c79da7c94">log4c_logging_event_delete</a> (<a class="el" href="structlog4c__logging__event__t.html">log4c_logging_event_t</a> *a_event)</td></tr>
<tr class="separator:a1a5ffef7bc1e28e62230ed0c79da7c94"><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>the internal representation of logging events. </p>
<p>When a affirmative logging decision is made a log4c_logging_event instance is created. This instance is passed around the different log4c components. </p>
</div><h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a1a5ffef7bc1e28e62230ed0c79da7c94"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void log4c_logging_event_delete </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structlog4c__logging__event__t.html">log4c_logging_event_t</a> *&#160;</td>
          <td class="paramname"><em>a_event</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Destructor for a logging event. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">a_event</td><td>the logging event object </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a89f7abcfd54518fe64150fd71fc76aff"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structlog4c__logging__event__t.html">log4c_logging_event_t</a>* log4c_logging_event_new </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>a_category</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>a_priority</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>a_message</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Constructor for a logging event.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">a_category</td><td>the category name </td></tr>
    <tr><td class="paramname">a_priority</td><td>the category initial priority </td></tr>
    <tr><td class="paramname">a_message</td><td>the message of this event</td></tr>
  </table>
  </dd>
</dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000007">Todo:</a></b></dt><dd>need to handle multi-threading (NDC) </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>