Added an Imager::log_entry() function and some extra logging
[imager.git] / log.c
diff --git a/log.c b/log.c
index 37430a8..a571fda 100644 (file)
--- a/log.c
+++ b/log.c
@@ -31,6 +31,7 @@ init_log(const char* name,int level) {
       }
     }
   }
+  setvbuf(lg_file, NULL, _IONBF, BUFSIZ);
   mm_log((0,"Imager - log started (level = %d)\n", level));
 }