about summary refs log tree commit diff
path: root/converter/other/pamtosvg/logreport.c
diff options
context:
space:
mode:
Diffstat (limited to 'converter/other/pamtosvg/logreport.c')
-rw-r--r--converter/other/pamtosvg/logreport.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/converter/other/pamtosvg/logreport.c b/converter/other/pamtosvg/logreport.c
new file mode 100644
index 00000000..7d726584
--- /dev/null
+++ b/converter/other/pamtosvg/logreport.c
@@ -0,0 +1,17 @@
+/* logreport.c: showing information to the user. */
+
+#include "logreport.h"
+#include "message.h"
+
+/* Says whether to output detailed progress reports, i.e., all the data
+   on the fitting, as we run.  (-log)  */
+FILE *log_file = NULL;
+
+
+void
+flush_log_output (void)
+{
+  if (log_file)
+    fflush (log_file);
+}
+