From ab26d49a68ce04fce8ba11c301b67a801a6e7acf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 29 Aug 2015 03:26:26 +0000 Subject: Add option to flush logs after every entry. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5711 a436a847-0d15-0410-975c-d299462d15a1 --- ingen/Log.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ingen') 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 -- cgit v1.2.1