Sophie

Sophie

distrib > Mandriva > 2007.0 > i586 > by-pkgid > ad1ba1135a9c9eeffc2e538163e00373 > files > 288

libCommonC++2_1.4-devel-1.4.1-1mdv2007.0.i586.rpm

<!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>GNU CommonC++: ost::Slog Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="namespaces.html"><span>Namespaces</span></a></li>
    <li id="current"><a href="classes.html"><span>Classes</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li><a href="examples.html"><span>Examples</span></a></li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="namespaceost.html">ost</a>::<a class="el" href="classost_1_1_slog.html">Slog</a></div>
<h1>ost::Slog Class Reference</h1><!-- doxytag: class="ost::Slog" -->The slog class is used to stream messages to the system's logging facility (syslogd).system logging facility class.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="slog_8h-source.html">slog.h</a>&gt;</code>
<p>
<a href="classost_1_1_slog-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef enum <a class="el" href="classost_1_1_slog.html#4defb466d865592f43bb4522b926fc24">ost::Slog::Class</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#4defb466d865592f43bb4522b926fc24">Class</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef enum <a class="el" href="classost_1_1_slog.html#f139df7abeea150282dbbb29b4c24cee">ost::Slog::Level</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#f139df7abeea150282dbbb29b4c24cee">Level</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#b4f915f1931605df91e4b453d6cdae1c">Class</a> { <br>
&nbsp;&nbsp;<a class="el" href="classost_1_1_slog.html#b4f915f1931605df91e4b453d6cdae1cdbc7ee2d213b386b962aff63507ced66">classSecurity</a>, 
<a class="el" href="classost_1_1_slog.html#b4f915f1931605df91e4b453d6cdae1ca554df70877ccf03997221a85a22a437">classAudit</a>, 
<a class="el" href="classost_1_1_slog.html#b4f915f1931605df91e4b453d6cdae1c3b46eb6c6905a57afb66746aed70b0a2">classDaemon</a>, 
<a class="el" href="classost_1_1_slog.html#b4f915f1931605df91e4b453d6cdae1c812ba0b753a975e7c91a8f360388bb1c">classUser</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classost_1_1_slog.html#b4f915f1931605df91e4b453d6cdae1cdc48842ad6b71881762ab3b6d2f97c3c">classDefault</a>, 
<a class="el" href="classost_1_1_slog.html#b4f915f1931605df91e4b453d6cdae1c44ea4afbff7b7d8efcade231fa2aa54d">classLocal0</a>, 
<a class="el" href="classost_1_1_slog.html#b4f915f1931605df91e4b453d6cdae1c1225cd34f8a1709d23e6d896b942a333">classLocal1</a>, 
<a class="el" href="classost_1_1_slog.html#b4f915f1931605df91e4b453d6cdae1c66f3a33e0270bcd53a56478b4f23cfe4">classLocal2</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classost_1_1_slog.html#b4f915f1931605df91e4b453d6cdae1c74ae4394d23ba6032c3f978370e2daba">classLocal3</a>, 
<a class="el" href="classost_1_1_slog.html#b4f915f1931605df91e4b453d6cdae1cf50fdf9753a8d1f559dbff587ccdb986">classLocal4</a>, 
<a class="el" href="classost_1_1_slog.html#b4f915f1931605df91e4b453d6cdae1cdd15541cddf1e67ee2b6b66ffe81e077">classLocal5</a>, 
<a class="el" href="classost_1_1_slog.html#b4f915f1931605df91e4b453d6cdae1c129ffec69e592d55af991d655d2478f7">classLocal6</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classost_1_1_slog.html#b4f915f1931605df91e4b453d6cdae1cbdd079dc864ecc3c6e8fe1241483b15c">classLocal7</a>
<br>
 }</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#47ef36225607dba90b4be5012daccd7a">Level</a> { <br>
&nbsp;&nbsp;<a class="el" href="classost_1_1_slog.html#47ef36225607dba90b4be5012daccd7a1acd6522fbb9d8790867d5c51ea9b008">levelEmergency</a> =  1, 
<a class="el" href="classost_1_1_slog.html#47ef36225607dba90b4be5012daccd7a4862c8c52a86210064d2d6360db6b18d">levelAlert</a>, 
<a class="el" href="classost_1_1_slog.html#47ef36225607dba90b4be5012daccd7abe7a4f15d9ea484e01831a7dc3e71926">levelCritical</a>, 
<a class="el" href="classost_1_1_slog.html#47ef36225607dba90b4be5012daccd7af82cf7bb589d776186fbd0ab7b345f6e">levelError</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="classost_1_1_slog.html#47ef36225607dba90b4be5012daccd7a568c02bbd98a58f508a83334c65ffcea">levelWarning</a>, 
<a class="el" href="classost_1_1_slog.html#47ef36225607dba90b4be5012daccd7ada39f730e92fdec6cad3616fa3567c95">levelNotice</a>, 
<a class="el" href="classost_1_1_slog.html#47ef36225607dba90b4be5012daccd7a4a5387e1f48ef86841a807f6687d3d9c">levelInfo</a>, 
<a class="el" href="classost_1_1_slog.html#47ef36225607dba90b4be5012daccd7a7d9ce368944e6852d05730c269432b3a">levelDebug</a>
<br>
 }</td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#4d98795e4bfe373f8195e672fd6b7ec1">Slog</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default (and only) constructor.  <a href="#4d98795e4bfe373f8195e672fd6b7ec1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#fee001983cc6510404d5d269e48eab7f">~Slog</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#4f0c20efe448a79cdad108e9c058e0a3">close</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#c60c59bbeb39fb9cd10d39585f2b876f">open</a> (const char *ident, <a class="el" href="classost_1_1_slog.html#4defb466d865592f43bb4522b926fc24">Class</a> grp=classUser)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">(re)opens the output stream.  <a href="#c60c59bbeb39fb9cd10d39585f2b876f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classost_1_1_slog.html">Slog</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#cfa37896109771ec5fea05754012f76a">operator()</a> (const char *ident, <a class="el" href="classost_1_1_slog.html#4defb466d865592f43bb4522b926fc24">Class</a> grp=classUser, <a class="el" href="classost_1_1_slog.html#f139df7abeea150282dbbb29b4c24cee">Level</a> level=levelError)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the log identifier, level, and class to use for subsequent output.  <a href="#cfa37896109771ec5fea05754012f76a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classost_1_1_slog.html">Slog</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#9a1392f01947ba92ae6c5c17bf29aec6">operator()</a> (<a class="el" href="classost_1_1_slog.html#f139df7abeea150282dbbb29b4c24cee">Level</a> level, <a class="el" href="classost_1_1_slog.html#4defb466d865592f43bb4522b926fc24">Class</a> grp=classDefault)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Changes the log level and class to use for subsequent output.  <a href="#9a1392f01947ba92ae6c5c17bf29aec6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classost_1_1_slog.html">Slog</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#090f7755f377e867caaa42e458f09e73">operator()</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Does nothing except return *this.  <a href="#090f7755f377e867caaa42e458f09e73"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#151df1126e5803662d7b00961defb615">error</a> (const char *format,...)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print a formatted syslog string.  <a href="#151df1126e5803662d7b00961defb615"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#25596070ef3d54bfe4c2b1b37ce91cdf">warn</a> (const char *format,...)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print a formatted syslog string.  <a href="#25596070ef3d54bfe4c2b1b37ce91cdf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#69e63ef2321f6e8ab626cf107554457c">debug</a> (const char *format,...)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print a formatted syslog string.  <a href="#69e63ef2321f6e8ab626cf107554457c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#7c1abca7e80c800ad4a3102afad95a54">emerg</a> (const char *format,...)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print a formatted syslog string.  <a href="#7c1abca7e80c800ad4a3102afad95a54"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#461eace80a1963d80eda14926c4143cd">alert</a> (const char *format,...)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print a formatted syslog string.  <a href="#461eace80a1963d80eda14926c4143cd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#7b0ab8d8b8a87becbd9ce1e477d63628">critical</a> (const char *format,...)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print a formatted syslog string.  <a href="#7b0ab8d8b8a87becbd9ce1e477d63628"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#492f7d432e2566b6bebc41f41b315393">notice</a> (const char *format,...)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print a formatted syslog string.  <a href="#492f7d432e2566b6bebc41f41b315393"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#1acf3a15b587c9a0db28adab3fd5deb9">info</a> (const char *format,...)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Print a formatted syslog string.  <a href="#1acf3a15b587c9a0db28adab3fd5deb9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#7f4111d989cee472f4d035852a80bcdf">level</a> (<a class="el" href="classost_1_1_slog.html#f139df7abeea150282dbbb29b4c24cee">Level</a> enable)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the logging level.  <a href="#7f4111d989cee472f4d035852a80bcdf"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#7529ca8421ee3672a75fea37736cc94f">clogEnable</a> (bool f=true)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Enables or disables the echoing of the messages to clog in addition to the syslog daemon.  <a href="#7529ca8421ee3672a75fea37736cc94f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classost_1_1_slog.html">Slog</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#4b3ac21264a627f76ef21c304575acc9">warn</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classost_1_1_slog.html">Slog</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#6588a9a357b37783786e429f7003ca6a">error</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classost_1_1_slog.html">Slog</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#fe897077c2039e27f25296563adbf3d2">debug</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classost_1_1_slog.html">Slog</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#809268f1637b14c2af84376224e35867">emerg</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classost_1_1_slog.html">Slog</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#203d4847e5f1c05df43a46de74206a32">alert</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classost_1_1_slog.html">Slog</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#5ad3a15701be1fcc118b8fa1319b881f">critical</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classost_1_1_slog.html">Slog</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#5f80262e108f7b3892aeb0f12e72a7ea">notice</a> (void)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classost_1_1_slog.html">Slog</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#aeba8f042560a4744a4caac4b6dc9b4a">info</a> (void)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classost_1_1_slog.html#50dc69d9bd257bdd2333180144e93bb2">overflow</a> (int c)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This is the streambuf function that actually outputs the data to the device.  <a href="#50dc69d9bd257bdd2333180144e93bb2"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
The slog class is used to stream messages to the system's logging facility (syslogd).system logging facility class. 
<p>
A default <code>slog</code> object is used to avoid confusion with the native syslog facility and to imply a logical relationship to the C++ <code>clog()</code>.<p>
The key difference is that the <code>slog</code> object sends it's output to the system logging daemon (typically syslogd) rather than through stderr. <code>slog</code> can be streamed with the <code>&lt;&lt;</code> operator just like <code>clog</code>; a default slog object is pre-initialized, and you stream character data to it.<p>
The <code>slog</code> allows one to specify logging levels and other properties through the <code>()</code> operators. Hence, once can do:<p>
<code><pre>
 slog("mydaemon", SLOG_DAEMON, SLOG_EMERGENCY) &lt;&lt; I just died &lt;&lt; endl; </pre></code><p>
or things like:<p>
<code><pre>
 slog("mydaemon", SLOG_DAEMON); 
 slog(SLOG_INFO) &lt;&lt; "daemon initalized" &lt;&lt; endl; </pre></code><p>
The intent is to be as common-place and as convenient to use as the stderr based clog facility found in C++, and this is especially useful for C++ daemons.<p>
The <code>std::flush</code> manipulator doesn't work. Either the <code>std::endl</code> or <code>std::ends</code> manipulators must be used to cause the output to be sent to the daemon.<p>
When this class is used on a system that doesn't have the syslog headers (i.e. a non-posix win32 box), the output goes to the a file with the same name as the syslog identifier string with '.log' appended to it. If the identifier string ends in '.exe', the '.exe' is removed before the '.log' is appened. (e.g. the identifier foo.exe will generate a log file named foo.log)<p>
<dl compact><dt><b>Author:</b></dt><dd>David Sugar &lt;<a href="mailto:dyfet@ostel.com">dyfet@ostel.com</a>&gt; <br>
Minor docs &amp; hacks by Jon Little &lt;<a href="mailto:littlej@arlut.utexas.edu">littlej@arlut.utexas.edu</a>&gt; </dd></dl>

<p>
<hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="4defb466d865592f43bb4522b926fc24"></a><!-- doxytag: member="ost::Slog::Class" ref="4defb466d865592f43bb4522b926fc24" args="" --><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">typedef enum <a class="el" href="classost_1_1_slog.html#4defb466d865592f43bb4522b926fc24">ost::Slog::Class</a>  <a class="el" href="classost_1_1_slog.html#4defb466d865592f43bb4522b926fc24">ost::Slog::Class</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="f139df7abeea150282dbbb29b4c24cee"></a><!-- doxytag: member="ost::Slog::Level" ref="f139df7abeea150282dbbb29b4c24cee" args="" --><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">typedef enum <a class="el" href="classost_1_1_slog.html#f139df7abeea150282dbbb29b4c24cee">ost::Slog::Level</a>  <a class="el" href="classost_1_1_slog.html#f139df7abeea150282dbbb29b4c24cee">ost::Slog::Level</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="b4f915f1931605df91e4b453d6cdae1c"></a><!-- doxytag: member="ost::Slog::Class" ref="b4f915f1931605df91e4b453d6cdae1c" args="" --><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">enum <a class="el" href="classost_1_1_slog.html#4defb466d865592f43bb4522b926fc24">ost::Slog::Class</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="b4f915f1931605df91e4b453d6cdae1cdbc7ee2d213b386b962aff63507ced66"></a><!-- doxytag: member="classSecurity" ref="b4f915f1931605df91e4b453d6cdae1cdbc7ee2d213b386b962aff63507ced66" args="" -->classSecurity</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="b4f915f1931605df91e4b453d6cdae1ca554df70877ccf03997221a85a22a437"></a><!-- doxytag: member="classAudit" ref="b4f915f1931605df91e4b453d6cdae1ca554df70877ccf03997221a85a22a437" args="" -->classAudit</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="b4f915f1931605df91e4b453d6cdae1c3b46eb6c6905a57afb66746aed70b0a2"></a><!-- doxytag: member="classDaemon" ref="b4f915f1931605df91e4b453d6cdae1c3b46eb6c6905a57afb66746aed70b0a2" args="" -->classDaemon</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="b4f915f1931605df91e4b453d6cdae1c812ba0b753a975e7c91a8f360388bb1c"></a><!-- doxytag: member="classUser" ref="b4f915f1931605df91e4b453d6cdae1c812ba0b753a975e7c91a8f360388bb1c" args="" -->classUser</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="b4f915f1931605df91e4b453d6cdae1cdc48842ad6b71881762ab3b6d2f97c3c"></a><!-- doxytag: member="classDefault" ref="b4f915f1931605df91e4b453d6cdae1cdc48842ad6b71881762ab3b6d2f97c3c" args="" -->classDefault</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="b4f915f1931605df91e4b453d6cdae1c44ea4afbff7b7d8efcade231fa2aa54d"></a><!-- doxytag: member="classLocal0" ref="b4f915f1931605df91e4b453d6cdae1c44ea4afbff7b7d8efcade231fa2aa54d" args="" -->classLocal0</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="b4f915f1931605df91e4b453d6cdae1c1225cd34f8a1709d23e6d896b942a333"></a><!-- doxytag: member="classLocal1" ref="b4f915f1931605df91e4b453d6cdae1c1225cd34f8a1709d23e6d896b942a333" args="" -->classLocal1</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="b4f915f1931605df91e4b453d6cdae1c66f3a33e0270bcd53a56478b4f23cfe4"></a><!-- doxytag: member="classLocal2" ref="b4f915f1931605df91e4b453d6cdae1c66f3a33e0270bcd53a56478b4f23cfe4" args="" -->classLocal2</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="b4f915f1931605df91e4b453d6cdae1c74ae4394d23ba6032c3f978370e2daba"></a><!-- doxytag: member="classLocal3" ref="b4f915f1931605df91e4b453d6cdae1c74ae4394d23ba6032c3f978370e2daba" args="" -->classLocal3</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="b4f915f1931605df91e4b453d6cdae1cf50fdf9753a8d1f559dbff587ccdb986"></a><!-- doxytag: member="classLocal4" ref="b4f915f1931605df91e4b453d6cdae1cf50fdf9753a8d1f559dbff587ccdb986" args="" -->classLocal4</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="b4f915f1931605df91e4b453d6cdae1cdd15541cddf1e67ee2b6b66ffe81e077"></a><!-- doxytag: member="classLocal5" ref="b4f915f1931605df91e4b453d6cdae1cdd15541cddf1e67ee2b6b66ffe81e077" args="" -->classLocal5</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="b4f915f1931605df91e4b453d6cdae1c129ffec69e592d55af991d655d2478f7"></a><!-- doxytag: member="classLocal6" ref="b4f915f1931605df91e4b453d6cdae1c129ffec69e592d55af991d655d2478f7" args="" -->classLocal6</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="b4f915f1931605df91e4b453d6cdae1cbdd079dc864ecc3c6e8fe1241483b15c"></a><!-- doxytag: member="classLocal7" ref="b4f915f1931605df91e4b453d6cdae1cbdd079dc864ecc3c6e8fe1241483b15c" args="" -->classLocal7</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="47ef36225607dba90b4be5012daccd7a"></a><!-- doxytag: member="ost::Slog::Level" ref="47ef36225607dba90b4be5012daccd7a" args="" --><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">enum <a class="el" href="classost_1_1_slog.html#f139df7abeea150282dbbb29b4c24cee">ost::Slog::Level</a>          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="47ef36225607dba90b4be5012daccd7a1acd6522fbb9d8790867d5c51ea9b008"></a><!-- doxytag: member="levelEmergency" ref="47ef36225607dba90b4be5012daccd7a1acd6522fbb9d8790867d5c51ea9b008" args="" -->levelEmergency</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="47ef36225607dba90b4be5012daccd7a4862c8c52a86210064d2d6360db6b18d"></a><!-- doxytag: member="levelAlert" ref="47ef36225607dba90b4be5012daccd7a4862c8c52a86210064d2d6360db6b18d" args="" -->levelAlert</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="47ef36225607dba90b4be5012daccd7abe7a4f15d9ea484e01831a7dc3e71926"></a><!-- doxytag: member="levelCritical" ref="47ef36225607dba90b4be5012daccd7abe7a4f15d9ea484e01831a7dc3e71926" args="" -->levelCritical</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="47ef36225607dba90b4be5012daccd7af82cf7bb589d776186fbd0ab7b345f6e"></a><!-- doxytag: member="levelError" ref="47ef36225607dba90b4be5012daccd7af82cf7bb589d776186fbd0ab7b345f6e" args="" -->levelError</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="47ef36225607dba90b4be5012daccd7a568c02bbd98a58f508a83334c65ffcea"></a><!-- doxytag: member="levelWarning" ref="47ef36225607dba90b4be5012daccd7a568c02bbd98a58f508a83334c65ffcea" args="" -->levelWarning</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="47ef36225607dba90b4be5012daccd7ada39f730e92fdec6cad3616fa3567c95"></a><!-- doxytag: member="levelNotice" ref="47ef36225607dba90b4be5012daccd7ada39f730e92fdec6cad3616fa3567c95" args="" -->levelNotice</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="47ef36225607dba90b4be5012daccd7a4a5387e1f48ef86841a807f6687d3d9c"></a><!-- doxytag: member="levelInfo" ref="47ef36225607dba90b4be5012daccd7a4a5387e1f48ef86841a807f6687d3d9c" args="" -->levelInfo</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="47ef36225607dba90b4be5012daccd7a7d9ce368944e6852d05730c269432b3a"></a><!-- doxytag: member="levelDebug" ref="47ef36225607dba90b4be5012daccd7a7d9ce368944e6852d05730c269432b3a" args="" -->levelDebug</em>&nbsp;</td><td>
</td></tr>
</table>
</dl>
    </td>
  </tr>
</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="4d98795e4bfe373f8195e672fd6b7ec1"></a><!-- doxytag: member="ost::Slog::Slog" ref="4d98795e4bfe373f8195e672fd6b7ec1" args="(void)" --><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">ost::Slog::Slog           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Default (and only) constructor. 
<p>
The default log level is set to SLOG_DEBUG. There is no default log facility set. One should be set before attempting any output. This is done by the <code><a class="el" href="classost_1_1_slog.html#c60c59bbeb39fb9cd10d39585f2b876f">open()</a></code> or the <code><a class="el" href="classost_1_1_slog.html#cfa37896109771ec5fea05754012f76a">operator()(const char*, Class, Level)</a></code> functions.     </td>
  </tr>
</table>
<a class="anchor" name="fee001983cc6510404d5d269e48eab7f"></a><!-- doxytag: member="ost::Slog::~Slog" ref="fee001983cc6510404d5d269e48eab7f" args="(void)" --><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">virtual ost::Slog::~Slog           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [virtual]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="203d4847e5f1c05df43a46de74206a32"></a><!-- doxytag: member="ost::Slog::alert" ref="203d4847e5f1c05df43a46de74206a32" args="(void)" --><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"><a class="el" href="classost_1_1_slog.html">Slog</a>&amp; ost::Slog::alert           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="461eace80a1963d80eda14926c4143cd"></a><!-- doxytag: member="ost::Slog::alert" ref="461eace80a1963d80eda14926c4143cd" args="(const char *format,...)" --><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">void ost::Slog::alert           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>&nbsp;</td>
          <td class="mdname" nowrap> <em>...</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Print a formatted syslog string. 
<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>format</em>&nbsp;</td><td>string. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="7529ca8421ee3672a75fea37736cc94f"></a><!-- doxytag: member="ost::Slog::clogEnable" ref="7529ca8421ee3672a75fea37736cc94f" args="(bool f=true)" --><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">void ost::Slog::clogEnable           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>f</em> = <code>true</code>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Enables or disables the echoing of the messages to clog in addition to the syslog daemon. 
<p>
This is enabled by the default class constructor. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>f</em>&nbsp;</td><td>true to enable, false to disable clog output </td></tr>
  </table>
</dl>
<dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="slog_test_8cpp-example.html#a33">slogTest.cpp</a>.</dl>    </td>
  </tr>
</table>
<a class="anchor" name="4f0c20efe448a79cdad108e9c058e0a3"></a><!-- doxytag: member="ost::Slog::close" ref="4f0c20efe448a79cdad108e9c058e0a3" args="(void)" --><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">void ost::Slog::close           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="5ad3a15701be1fcc118b8fa1319b881f"></a><!-- doxytag: member="ost::Slog::critical" ref="5ad3a15701be1fcc118b8fa1319b881f" args="(void)" --><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"><a class="el" href="classost_1_1_slog.html">Slog</a>&amp; ost::Slog::critical           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="7b0ab8d8b8a87becbd9ce1e477d63628"></a><!-- doxytag: member="ost::Slog::critical" ref="7b0ab8d8b8a87becbd9ce1e477d63628" args="(const char *format,...)" --><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">void ost::Slog::critical           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>&nbsp;</td>
          <td class="mdname" nowrap> <em>...</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Print a formatted syslog string. 
<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>format</em>&nbsp;</td><td>string. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="fe897077c2039e27f25296563adbf3d2"></a><!-- doxytag: member="ost::Slog::debug" ref="fe897077c2039e27f25296563adbf3d2" args="(void)" --><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"><a class="el" href="classost_1_1_slog.html">Slog</a>&amp; ost::Slog::debug           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="69e63ef2321f6e8ab626cf107554457c"></a><!-- doxytag: member="ost::Slog::debug" ref="69e63ef2321f6e8ab626cf107554457c" args="(const char *format,...)" --><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">void ost::Slog::debug           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>&nbsp;</td>
          <td class="mdname" nowrap> <em>...</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Print a formatted syslog string. 
<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>format</em>&nbsp;</td><td>string. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="809268f1637b14c2af84376224e35867"></a><!-- doxytag: member="ost::Slog::emerg" ref="809268f1637b14c2af84376224e35867" args="(void)" --><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"><a class="el" href="classost_1_1_slog.html">Slog</a>&amp; ost::Slog::emerg           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="7c1abca7e80c800ad4a3102afad95a54"></a><!-- doxytag: member="ost::Slog::emerg" ref="7c1abca7e80c800ad4a3102afad95a54" args="(const char *format,...)" --><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">void ost::Slog::emerg           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>&nbsp;</td>
          <td class="mdname" nowrap> <em>...</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Print a formatted syslog string. 
<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>format</em>&nbsp;</td><td>string. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="6588a9a357b37783786e429f7003ca6a"></a><!-- doxytag: member="ost::Slog::error" ref="6588a9a357b37783786e429f7003ca6a" args="(void)" --><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"><a class="el" href="classost_1_1_slog.html">Slog</a>&amp; ost::Slog::error           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="151df1126e5803662d7b00961defb615"></a><!-- doxytag: member="ost::Slog::error" ref="151df1126e5803662d7b00961defb615" args="(const char *format,...)" --><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">void ost::Slog::error           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>&nbsp;</td>
          <td class="mdname" nowrap> <em>...</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Print a formatted syslog string. 
<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>format</em>&nbsp;</td><td>string. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="aeba8f042560a4744a4caac4b6dc9b4a"></a><!-- doxytag: member="ost::Slog::info" ref="aeba8f042560a4744a4caac4b6dc9b4a" args="(void)" --><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"><a class="el" href="classost_1_1_slog.html">Slog</a>&amp; ost::Slog::info           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="1acf3a15b587c9a0db28adab3fd5deb9"></a><!-- doxytag: member="ost::Slog::info" ref="1acf3a15b587c9a0db28adab3fd5deb9" args="(const char *format,...)" --><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">void ost::Slog::info           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>&nbsp;</td>
          <td class="mdname" nowrap> <em>...</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Print a formatted syslog string. 
<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>format</em>&nbsp;</td><td>string. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="7f4111d989cee472f4d035852a80bcdf"></a><!-- doxytag: member="ost::Slog::level" ref="7f4111d989cee472f4d035852a80bcdf" args="(Level enable)" --><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">void ost::Slog::level           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classost_1_1_slog.html#f139df7abeea150282dbbb29b4c24cee">Level</a>&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>enable</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the logging level. 
<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>enable</em>&nbsp;</td><td>is the logging level to use for further output </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="5f80262e108f7b3892aeb0f12e72a7ea"></a><!-- doxytag: member="ost::Slog::notice" ref="5f80262e108f7b3892aeb0f12e72a7ea" args="(void)" --><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"><a class="el" href="classost_1_1_slog.html">Slog</a>&amp; ost::Slog::notice           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="492f7d432e2566b6bebc41f41b315393"></a><!-- doxytag: member="ost::Slog::notice" ref="492f7d432e2566b6bebc41f41b315393" args="(const char *format,...)" --><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">void ost::Slog::notice           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>&nbsp;</td>
          <td class="mdname" nowrap> <em>...</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Print a formatted syslog string. 
<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>format</em>&nbsp;</td><td>string. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="c60c59bbeb39fb9cd10d39585f2b876f"></a><!-- doxytag: member="ost::Slog::open" ref="c60c59bbeb39fb9cd10d39585f2b876f" args="(const char *ident, Class grp=classUser)" --><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">void ost::Slog::open           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>ident</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap><a class="el" href="classost_1_1_slog.html#4defb466d865592f43bb4522b926fc24">Class</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>grp</em> = <code>classUser</code></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
(re)opens the output stream. 
<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>ident</em>&nbsp;</td><td>The identifier portion of the message sent to the syslog daemon. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>grp</em>&nbsp;</td><td>The log facility the message is sent to </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="090f7755f377e867caaa42e458f09e73"></a><!-- doxytag: member="ost::Slog::operator()" ref="090f7755f377e867caaa42e458f09e73" args="(void)" --><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"><a class="el" href="classost_1_1_slog.html">Slog</a>&amp; ost::Slog::operator()           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Does nothing except return *this. 
<p>
    </td>
  </tr>
</table>
<a class="anchor" name="9a1392f01947ba92ae6c5c17bf29aec6"></a><!-- doxytag: member="ost::Slog::operator()" ref="9a1392f01947ba92ae6c5c17bf29aec6" args="(Level level, Class grp=classDefault)" --><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"><a class="el" href="classost_1_1_slog.html">Slog</a>&amp; ost::Slog::operator()           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classost_1_1_slog.html#f139df7abeea150282dbbb29b4c24cee">Level</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>level</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap><a class="el" href="classost_1_1_slog.html#4defb466d865592f43bb4522b926fc24">Class</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>grp</em> = <code>classDefault</code></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Changes the log level and class to use for subsequent output. 
<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>level</em>&nbsp;</td><td>The log level of the message </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>grp</em>&nbsp;</td><td>The log facility the message is sent to </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="cfa37896109771ec5fea05754012f76a"></a><!-- doxytag: member="ost::Slog::operator()" ref="cfa37896109771ec5fea05754012f76a" args="(const char *ident, Class grp=classUser, Level level=levelError)" --><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"><a class="el" href="classost_1_1_slog.html">Slog</a>&amp; ost::Slog::operator()           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>ident</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap><a class="el" href="classost_1_1_slog.html#4defb466d865592f43bb4522b926fc24">Class</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>grp</em> = <code>classUser</code>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap><a class="el" href="classost_1_1_slog.html#f139df7abeea150282dbbb29b4c24cee">Level</a>&nbsp;</td>
          <td class="mdname" nowrap> <em>level</em> = <code>levelError</code></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the log identifier, level, and class to use for subsequent output. 
<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>ident</em>&nbsp;</td><td>The identifier portion of the message </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>grp</em>&nbsp;</td><td>The log facility the message is sent to </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>level</em>&nbsp;</td><td>The log level of the message </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<a class="anchor" name="50dc69d9bd257bdd2333180144e93bb2"></a><!-- doxytag: member="ost::Slog::overflow" ref="50dc69d9bd257bdd2333180144e93bb2" args="(int c)" --><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 ost::Slog::overflow           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">int&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>c</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [protected]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
This is the streambuf function that actually outputs the data to the device. 
<p>
Since all output should be done with the standard ostream operators, this function should never be called directly.     </td>
  </tr>
</table>
<a class="anchor" name="4b3ac21264a627f76ef21c304575acc9"></a><!-- doxytag: member="ost::Slog::warn" ref="4b3ac21264a627f76ef21c304575acc9" args="(void)" --><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"><a class="el" href="classost_1_1_slog.html">Slog</a>&amp; ost::Slog::warn           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap><code> [inline]</code></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
    </td>
  </tr>
</table>
<a class="anchor" name="25596070ef3d54bfe4c2b1b37ce91cdf"></a><!-- doxytag: member="ost::Slog::warn" ref="25596070ef3d54bfe4c2b1b37ce91cdf" args="(const char *format,...)" --><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">void ost::Slog::warn           </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *&nbsp;</td>
          <td class="mdname" nowrap> <em>format</em>, </td>
        </tr>
        <tr>
          <td class="md" nowrap align="right"></td>
          <td class="md"></td>
          <td class="md" nowrap>&nbsp;</td>
          <td class="mdname" nowrap> <em>...</em></td>
        </tr>
        <tr>
          <td class="md"></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Print a formatted syslog string. 
<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>format</em>&nbsp;</td><td>string. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="slog_8h-source.html">slog.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Mon Jun 19 10:50:56 2006 for GNU CommonC++ by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>
</body>
</html>