diff options
author | David Robillard <d@drobilla.net> | 2016-12-06 11:03:35 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-12-13 19:15:26 -0500 |
commit | 0752556bde5659a933744658cdf63509000a5080 (patch) | |
tree | 0ab580ab247f55886515ad23e1bd89a51063acd9 /src/Log.cpp | |
parent | 6502a2505fc390e3099331b5ea521efd56812aaa (diff) | |
download | ingen-0752556bde5659a933744658cdf63509000a5080.tar.gz ingen-0752556bde5659a933744658cdf63509000a5080.tar.bz2 ingen-0752556bde5659a933744658cdf63509000a5080.zip |
Fix some real-time safety issues
Diffstat (limited to 'src/Log.cpp')
-rw-r--r-- | src/Log.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Log.cpp b/src/Log.cpp index 9b5a09ce..259d9a3e 100644 --- a/src/Log.cpp +++ b/src/Log.cpp @@ -32,6 +32,15 @@ Log::Log(LV2_Log_Log* log, URIs& uris) {} void +Log::rt_error(const char* msg) +{ +#ifndef NDEBUG + va_list args; + vtprintf(_uris.log_Error, msg, args); +#endif +} + +void Log::error(const std::string& msg) { va_list args; |