📄 classlog4cpp_1_1remotesyslogappender.html
字号:
<table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void log4cpp::RemoteSyslogAppender::open </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected, virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Just creates the socket. <p> </td> </tr></table><a class="anchor" name="a2" doxytag="log4cpp::RemoteSyslogAppender::reopen"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">bool log4cpp::RemoteSyslogAppender::reopen </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Closes and reopens the socket. <p><p>Reimplemented from <a class="el" href="classlog4cpp_1_1AppenderSkeleton.html#a2">log4cpp::AppenderSkeleton</a>. </td> </tr></table><a class="anchor" name="e0" doxytag="log4cpp::RemoteSyslogAppender::toSyslogPriority"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int log4cpp::RemoteSyslogAppender::toSyslogPriority </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classlog4cpp_1_1Priority.html#w0">Priority::Value</a> </td> <td class="mdname1" valign="top" nowrap> <em>priority</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [static]</code></td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p>Translates a <a class="el" href="namespacelog4cpp.html">log4cpp</a> priority to a syslog priority. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>priority</em> </td><td>The <a class="el" href="namespacelog4cpp.html">log4cpp</a> priority. </td></tr> </table></dl><dl compact><dt><b>Returns:</b></dt><dd>the syslog priority. </dd></dl> </td> </tr></table><hr><h2>Member Data Documentation</h2><a class="anchor" name="p2" doxytag="log4cpp::RemoteSyslogAppender::_facility"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int <a class="el" href="classlog4cpp_1_1RemoteSyslogAppender.html#p2">log4cpp::RemoteSyslogAppender::_facility</a><code> [protected]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p> </td> </tr></table><a class="anchor" name="p5" doxytag="log4cpp::RemoteSyslogAppender::_ipAddr"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">in_addr_t <a class="el" href="classlog4cpp_1_1RemoteSyslogAppender.html#p5">log4cpp::RemoteSyslogAppender::_ipAddr</a><code> [protected]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p> </td> </tr></table><a class="anchor" name="p3" doxytag="log4cpp::RemoteSyslogAppender::_portNumber"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int <a class="el" href="classlog4cpp_1_1RemoteSyslogAppender.html#p3">log4cpp::RemoteSyslogAppender::_portNumber</a><code> [protected]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p> </td> </tr></table><a class="anchor" name="p1" doxytag="log4cpp::RemoteSyslogAppender::_relayer"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">const std::string <a class="el" href="classlog4cpp_1_1RemoteSyslogAppender.html#p1">log4cpp::RemoteSyslogAppender::_relayer</a><code> [protected]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p> </td> </tr></table><a class="anchor" name="p4" doxytag="log4cpp::RemoteSyslogAppender::_socket"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">SOCKET <a class="el" href="classlog4cpp_1_1RemoteSyslogAppender.html#p4">log4cpp::RemoteSyslogAppender::_socket</a><code> [protected]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p> </td> </tr></table><a class="anchor" name="p0" doxytag="log4cpp::RemoteSyslogAppender::_syslogName"></a><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">const std::string <a class="el" href="classlog4cpp_1_1RemoteSyslogAppender.html#p0">log4cpp::RemoteSyslogAppender::_syslogName</a><code> [protected]</code> </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p> </td> </tr></table><hr>The documentation for this class was generated from the following files:<ul><li><a class="el" href="RemoteSyslogAppender_8hh-source.html">RemoteSyslogAppender.hh</a><li><a class="el" href="RemoteSyslogAppender_8cpp.html">RemoteSyslogAppender.cpp</a></ul><hr size="1"><address style="align: right;"><small>Generated on Fri Jul 29 14:12:40 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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -