2 gw-log-test.c: Test of logging facilities.
7 * Revision 1.1.1.1 1995/02/09 17:27:12 adam
8 * Initial version of email gateway under CVS control.
11 Initial: Dec 7, 94 (Adam Dickmeiss)
12 Last update: Dec 13, 94 (Adam Dickmeiss)
23 int main (int argc, char **argv)
27 gw_log_file (GW_LOG_ALL, "all.log");
29 gw_log (GW_LOG_ALL, "Msg", "Hi all, a");
30 gw_log (GW_LOG_STAT, "Msg", "Hi stat, a");
31 gw_log_file (GW_LOG_WARN, "warn.log");
32 gw_log_file (GW_LOG_FATAL, NULL);
33 gw_log (GW_LOG_ALL, "Msg", "Hi all, b");
34 gw_log (GW_LOG_STAT, "Msg", "Hi stat, b");
35 gw_log (GW_LOG_WARN, "Msg", "Hi warn, b");