1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
<!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: LoggingEvent.hh Source File</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 Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
<div class="nav">
<a class="el" href="dir_000001.html">include</a> / <a class="el" href="dir_000002.html">log4cpp</a></div>
<h1>LoggingEvent.hh</h1><a href="LoggingEvent_8hh.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment">00001 <span class="comment">/*</span>
00002 <span class="comment"> * LoggingEvent.hh</span>
00003 <span class="comment"> *</span>
00004 <span class="comment"> * Copyright 2000, LifeLine Networks BV (www.lifeline.nl). All rights reserved.</span>
00005 <span class="comment"> * Copyright 2000, Bastiaan Bakker. All rights reserved.</span>
00006 <span class="comment"> *</span>
00007 <span class="comment"> * See the COPYING file for the terms of usage and distribution.</span>
00008 <span class="comment"> */</span>
00009
00010 <span class="preprocessor">#ifndef _LOG4CPP_LOGGINGEVENT_HH</span>
00011 <span class="preprocessor"></span><span class="preprocessor">#define _LOG4CPP_LOGGINGEVENT_HH</span>
00012 <span class="preprocessor"></span>
00013 <span class="preprocessor">#include <<a class="code" href="Portability_8hh.html">log4cpp/Portability.hh</a>></span>
00014 <span class="preprocessor">#include <string></span>
00015
00016 <span class="preprocessor">#include <<a class="code" href="Priority_8hh.html">log4cpp/Priority.hh</a>></span>
00017 <span class="preprocessor">#include <<a class="code" href="TimeStamp_8hh.html">log4cpp/TimeStamp.hh</a>></span>
00018
00022 <span class="keyword">namespace </span>log4cpp {
00023
<a name="l00032"></a><a class="code" href="structlog4cpp_1_1LoggingEvent.html">00032</a> <span class="keyword">struct </span><a class="code" href="Export_8hh.html#a0">LOG4CPP_EXPORT</a> LoggingEvent {
00033 <span class="keyword">public</span>:
00045 LoggingEvent(<span class="keyword">const</span> std::string& category, <span class="keyword">const</span> std::string& message,
00046 <span class="keyword">const</span> std::string& ndc, <a class="code" href="classlog4cpp_1_1Priority.html#w0">Priority::Value</a> priority);
00047
00048
<a name="l00050"></a><a class="code" href="structlog4cpp_1_1LoggingEvent.html#o0">00050</a> <span class="keyword">const</span> std::string categoryName;
00051
<a name="l00053"></a><a class="code" href="structlog4cpp_1_1LoggingEvent.html#o1">00053</a> <span class="keyword">const</span> std::string message;
00054
<a name="l00056"></a><a class="code" href="structlog4cpp_1_1LoggingEvent.html#o2">00056</a> <span class="keyword">const</span> std::string ndc;
00057
<a name="l00059"></a><a class="code" href="structlog4cpp_1_1LoggingEvent.html#o3">00059</a> <a class="code" href="classlog4cpp_1_1Priority.html#w0">Priority::Value</a> priority;
00060
<a name="l00064"></a><a class="code" href="structlog4cpp_1_1LoggingEvent.html#o4">00064</a> <span class="keyword">const</span> std::string threadName;
00065
<a name="l00068"></a><a class="code" href="structlog4cpp_1_1LoggingEvent.html#o5">00068</a> <a class="code" href="classlog4cpp_1_1TimeStamp.html">TimeStamp</a> timeStamp;
00069 };
00070 }
00071
00072 <span class="preprocessor">#endif // _LOG4CPP_LOGGINGEVENT_HH</span>
00073 <span class="preprocessor"></span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Jul 29 14:07:33 2005 for log4cpp by
<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>
|