slogTest.cpp

00001 
00002 #include <cc++/slog.h>
00003 #include <iostream>
00004 #include <cstdio>
00005 
00006 #ifdef  CCXX_NAMESPACES
00007 using namespace std;
00008 using namespace ost;
00009 #endif
00010 
00011 
00012 int main(int argc, char* argv[])
00013 {
00014    slog("slogTest", Slog::classUser, Slog::levelInfo);
00015    slog << "Howdy daemon and clog." << endl;
00016    slog.clogEnable(false);
00017    slog << "This is only for the daemon." << endl;
00018    slog.clogEnable(true);
00019    slog << "Are you still there?" << endl;
00020    return 0;
00021 }
00022 

Generated on Fri Feb 23 10:05:09 2007 for GNU CommonC++ by  doxygen 1.5.1