<?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-libqxt-v0.6.2/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"> </td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a> · <a href="modules.html"><font color="#004faf">Modules</font></a> · <a href="classes.html"><font color="#004faf">Classes</font></a> · <a href="namespaces.html"><font color="#004faf">Namespaces</font></a> · <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 <QxtXmlFileLoggerEngine></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 & <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 & <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> <?xml version="1.0" encoding="UTF-8"?> <log> <entry type="Error" time="22:38:33.159159"> <message>Unknown error</message> </entry> <entry type="Debug" time="22:51:43.488488"> <message>What's going on?</message> <message>Hi there</message> </entry> </log></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> & <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> & <i>raw</i> ) <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 © 2007-2011 <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.2</div></td> </tr></table></div></address></body> </html>