summaryrefslogtreecommitdiffstats
path: root/src/World.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-08-29 03:26:26 +0000
committerDavid Robillard <d@drobilla.net>2015-08-29 03:26:26 +0000
commitab26d49a68ce04fce8ba11c301b67a801a6e7acf (patch)
tree123ade752394276e522d11aaebd6970febb33042 /src/World.cpp
parent9e346cb4e4fc4bd4fc25115be9fad111ec326ae8 (diff)
downloadingen-ab26d49a68ce04fce8ba11c301b67a801a6e7acf.tar.gz
ingen-ab26d49a68ce04fce8ba11c301b67a801a6e7acf.tar.bz2
ingen-ab26d49a68ce04fce8ba11c301b67a801a6e7acf.zip
Add option to flush logs after every entry.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5711 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/World.cpp')
-rw-r--r--src/World.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/World.cpp b/src/World.cpp
index d3859563..9d4410eb 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -120,6 +120,7 @@ public:
// Parse command line options, overriding configuration file values
conf.parse(argc, argv);
+ log.set_flush(conf.option("flush-log").get<int32_t>());
lv2_features = new LV2Features();
lv2_features->add_feature(uri_map->urid_map_feature());