4 * This program creates 2 log files.
10 static bool want_to_die
= false;
12 static void sighandler_die(int sig
)
15 fprintf(stderr
,"Exited on Signal: %d\n",sig
);
21 signal(SIGTERM
, sighandler_die
);
22 signal(SIGINT
, sighandler_die
);
23 signal(SIGXFSZ
, sighandler_die
);
25 WvLogFile
logger("./logtest", WvLog::Debug5
);
26 WvLog
log("WvLogFile Test", WvLog::Info
);
30 log
.print("This is a logging test................................\n");
31 log
.print("Some more testing.....................................\n");
32 log
.print("Even more testing.....................................\n");