summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ambd/pluginloader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ambd/pluginloader.h b/ambd/pluginloader.h
index d61f3d3e..705ed1c7 100644
--- a/ambd/pluginloader.h
+++ b/ambd/pluginloader.h
@@ -61,7 +61,7 @@ private: ///methods:
if(lt_dlinit())
{
mErrorString = lt_dlerror();
- cerr<<"error initializing libtool: "<<__FILE__<<" - "<<__FUNCTION__<<":"<<__LINE__<<" "<<mErrorString<<endl;
+ DebugOut(DebugOut::Error)<<"error initializing libtool: "<<__FILE__<<" - "<<__FUNCTION__<<":"<<__LINE__<<" "<<mErrorString<<endl;
return nullptr;
}
@@ -72,7 +72,7 @@ private: ///methods:
if(!handle)
{
mErrorString = lt_dlerror();
- cerr<<"error opening plugin: "<<pluginName<<" in "<<__FILE__<<" - "<<__FUNCTION__<<":"<<__LINE__<<" "<<mErrorString<<endl;
+ DebugOut(DebugOut::Error)<<"error opening plugin: "<<pluginName<<" in "<<__FILE__<<" - "<<__FUNCTION__<<":"<<__LINE__<<" "<<mErrorString<<endl;
return nullptr;
}