Bug fix.
[egate.git] / res+log / gw-log-test.c
index 4cadd56..244a759 100644 (file)
  * Europagate, 1994-1995.
  *
  * $Log: gw-log-test.c,v $
- * Revision 1.5  1995/05/16 09:40:48  adam
+ * Revision 1.6  1995/12/01 12:41:03  adam
+ * Bug fix.
+ *
+ * Revision 1.5  1995/05/16  09:40:48  adam
  * LICENSE.
  *
  * Revision 1.4  1995/04/10  13:20:25  adam
 
 int main (int argc, char **argv)
 {
+    int i;
     gw_log_init (*argv);
 
+    for (i = 1; i<argc; i++)
+    {
+        printf ("level %s -> %u\n", argv[i], gw_log_mask_str (argv[i]));
+        fflush (stdout);
+    }
+    
     gw_log_file (GW_LOG_ALL, "all.log");
     gw_log_file (GW_LOG_WARN, "warn.log");