Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Examples  

slogTest.cpp

#include <cc++/slog.h>
#include <iostream>
#include <cstdio>

#ifdef  CCXX_NAMESPACES
using namespace std;
using namespace ost;
#endif


int main(int argc, char* argv[])
{
   slog("slogTest", Slog::classUser, Slog::levelInfo);
   slog << "Howdy daemon and clog." << endl;
   slog.clogEnable(false);
   slog << "This is only for the daemon." << endl;
   slog.clogEnable(true);
   slog << "Are you still there?" << endl;
   return 0;
}


Generated at Fri May 30 14:51:01 2008 for GNU CommonC++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001