diff options
author | David Robillard <d@drobilla.net> | 2015-08-29 03:26:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-08-29 03:26:26 +0000 |
commit | ab26d49a68ce04fce8ba11c301b67a801a6e7acf (patch) | |
tree | 123ade752394276e522d11aaebd6970febb33042 /ingen | |
parent | 9e346cb4e4fc4bd4fc25115be9fad111ec326ae8 (diff) | |
download | ingen-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 'ingen')
-rw-r--r-- | ingen/Log.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ingen/Log.hpp b/ingen/Log.hpp index 94512309..6c88e9a4 100644 --- a/ingen/Log.hpp +++ b/ingen/Log.hpp @@ -42,9 +42,12 @@ public: inline void info(const fmt& fmt) { info(fmt.str()); } inline void warn(const fmt& fmt) { warn(fmt.str()); } + void set_flush(bool f) { _flush = f; } + private: LV2_Log_Log* _log; URIs& _uris; + bool _flush; }; } // namespace Ingen |