Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 4442dd9bdde98a1d9ca2177557e87d7d > files > 648

libqxt-devel-0.6.1-3.fc15.i686.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /builddir/build/BUILD/libqxt/src/core/qxtxmlfileloggerengine.cpp -->
<head>
  <title>QxtXmlFileLoggerEngine Class Reference</title>
  <link href="stylesheet.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://libqxt.org"><img src="images/qxt-logo.png" width="50" height="40" align="left" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">Classes</font></a>&nbsp;&middot; <a href="namespaces.html"><font color="#004faf">Namespaces</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230"></td></tr></table><h1 class="title">QxtXmlFileLoggerEngine Class Reference<br /><span class="small-subtitle">[<a href="qxtcore.html">QxtCore</a> module]</span>
</h1>
<p>The QxtXmlFileLoggerEngine class provides an XML file logger engine. <a href="#details">More...</a></p>
<pre>    #include &lt;QxtXmlFileLoggerEngine&gt;</pre><p>Inherits <a href="qxtabstractfileloggerengine.html">QxtAbstractFileLoggerEngine</a>.</p>
<ul>
<li><a href="qxtxmlfileloggerengine-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h3>Public Functions</h3>
<ul>
<li><div class="fn"></div><b><a href="qxtxmlfileloggerengine.html#QxtXmlFileLoggerEngine">QxtXmlFileLoggerEngine</a></b> ( const QString &amp; <i>fileName</i> = QString() )</li>
</ul>
<ul>
<li><div class="fn"></div>2 public functions inherited from <a href="qxtabstractfileloggerengine.html#public-functions">QxtAbstractFileLoggerEngine</a></li>
<li><div class="fn"></div>2 public functions inherited from <a href="qxtabstractiologgerengine.html#public-functions">QxtAbstractIOLoggerEngine</a></li>
<li><div class="fn"></div>12 public functions inherited from <a href="qxtloggerengine.html#public-functions">QxtLoggerEngine</a></li>
</ul>
<a name="static-protected-members"></a>
<h3>Static Protected Members</h3>
<ul>
<li><div class="fn"></div>QString <b><a href="qxtxmlfileloggerengine.html#toXmlSafeString">toXmlSafeString</a></b> ( const QString &amp; <i>raw</i> )</li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li><div class="fn"></div>1 protected function inherited from <a href="qxtabstractfileloggerengine.html#protected-functions">QxtAbstractFileLoggerEngine</a></li>
</ul>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QxtXmlFileLoggerEngine class provides an XML file logger engine.</p>
<p>Example XML log output:</p>
<pre>    &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
    &lt;log&gt;
        &lt;entry type=&quot;Error&quot; time=&quot;22:38:33.159159&quot;&gt;
            &lt;message&gt;Unknown error&lt;/message&gt;
        &lt;/entry&gt;
        &lt;entry type=&quot;Debug&quot; time=&quot;22:51:43.488488&quot;&gt;
            &lt;message&gt;What's going on?&lt;/message&gt;
            &lt;message&gt;Hi there&lt;/message&gt;
        &lt;/entry&gt;
    &lt;/log&gt;</pre>
<p>See also <a href="qxtlogger.html">QxtLogger</a>.</p>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QxtXmlFileLoggerEngine"></a>QxtXmlFileLoggerEngine::QxtXmlFileLoggerEngine ( const <a href="http://doc.qtsoftware.com/4.5/qstring.html">QString</a> &amp; <i>fileName</i> = QString() )</h3>
<p>Constructs an XML file logger engine with <i>fileName</i>.</p>
<h3 class="fn"><a name="toXmlSafeString"></a><a href="http://doc.qtsoftware.com/4.5/qstring.html">QString</a> QxtXmlFileLoggerEngine::toXmlSafeString ( const <a href="http://doc.qtsoftware.com/4.5/qstring.html">QString</a> &amp; <i>raw</i> )&nbsp;&nbsp;<tt> [static protected]</tt></h3>
<p>Replaces reserved characters from <i>raw</i> with corresponding entities.</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td align="left">Copyright &copy; 2007-2010
<a href="mailto:foundation@libqxt.org">Qxt Foundation</a></td>
<td align="right"><div align="right">
<a href="http://libqxt.org">Qxt</a> 0.6.1</div></td>
</tr></table></div></address></body>
</html>