summaryrefslogtreecommitdiffstats
path: root/src/Log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Log.cpp')
-rw-r--r--src/Log.cpp9
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;