blob: 03977251aeae894ebd5dd2eab020cb6653a1e6e7 [file] [log] [blame]
Emeric Vigier2f625822012-08-06 11:09:52 -04001
2#include <cc++/slog.h>
3#include <iostream>
4#include <cstdio>
5
6#ifdef CCXX_NAMESPACES
7using namespace std;
8using namespace ost;
9#endif
10
11
12int 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