summaryrefslogtreecommitdiffstats
path: root/src/engine/LADSPAPlugin.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-01-06 23:49:17 +0000
committerDavid Robillard <d@drobilla.net>2010-01-06 23:49:17 +0000
commitcb5e934666e128e27faa95587fbdecf01f0e324d (patch)
tree1e694e2812381efbb3eb4b5ace2cdecc118b29f6 /src/engine/LADSPAPlugin.cpp
parent092eb35edb999a9dd809e197d7dd9a4ebb0d6bd5 (diff)
downloadingen-cb5e934666e128e27faa95587fbdecf01f0e324d.tar.gz
ingen-cb5e934666e128e27faa95587fbdecf01f0e324d.tar.bz2
ingen-cb5e934666e128e27faa95587fbdecf01f0e324d.zip
Do all logging output via Raul streams.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2349 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/LADSPAPlugin.cpp')
-rw-r--r--src/engine/LADSPAPlugin.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/engine/LADSPAPlugin.cpp b/src/engine/LADSPAPlugin.cpp
index 30b0eae2..7bf4ef4a 100644
--- a/src/engine/LADSPAPlugin.cpp
+++ b/src/engine/LADSPAPlugin.cpp
@@ -17,7 +17,6 @@
#include <cassert>
#include <ladspa.h>
-#include <iostream>
#include <raul/Symbol.hpp>
#include "LADSPAPlugin.hpp"
#include "LADSPANode.hpp"
@@ -83,7 +82,7 @@ LADSPAPlugin::instantiate(BufferFactory& bufs,
assert(*_module);
if (!_module->get_symbol("ladspa_descriptor", df.dp)) {
- cerr << "Looks like this isn't a LADSPA plugin." << endl;
+ warn << _library_path << " is not a LADSPA plugin library" << endl;
return NULL;
}
@@ -104,7 +103,7 @@ LADSPAPlugin::instantiate(BufferFactory& bufs,
}
} else {
- cerr << "Could not find plugin \"" << _id << "\" in " << _library_path << endl;
+ error << "Could not find plugin \"" << _id << "\" in " << _library_path << endl;
}
return n;