GNU CommonC++
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 << "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;
}
@ levelInfo
Definition slog.h:130
@ classUser
Definition slog.h:111
Definition address.h:64
__EXPORT Slog slog
System logging facilities abstraction.