\section{slog\-Test.cpp} \footnotesize\begin{verbatim}1 2 #include <cc++/slog.h> 3 #include <iostream> 4 #include <cstdio> 5 6 #ifdef CCXX_NAMESPACES 7 using namespace std; 8 using namespace ost; 9 #endif 10 11 12 int main(int argc, char* argv[]) 13 { 14 slog("slogTest", Slog::classUser, Slog::levelInfo); 15 slog << "Howdy daemon and clog." << endl; 16 slog.clogEnable(false); 17 slog << "This is only for the daemon." << endl; 18 slog.clogEnable(true); 19 slog << "Are you still there?" << endl; 20 return 0; 21 } 22 \end{verbatim} \normalsize