summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-28 05:52:38 +0000
committerDavid Robillard <d@drobilla.net>2012-04-28 05:52:38 +0000
commitcada02b9cd95659bfca7beb7284ebe8e2202ce5f (patch)
treefc2700d8cc69e467e5adaee01108fa1436e07491
parentf5f4e7f081c9fbbe3b63ba72cdc12489653fb1bf (diff)
downloadingen-cada02b9cd95659bfca7beb7284ebe8e2202ce5f.tar.gz
ingen-cada02b9cd95659bfca7beb7284ebe8e2202ce5f.tar.bz2
ingen-cada02b9cd95659bfca7beb7284ebe8e2202ce5f.zip
Remove use of std::cerr.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4303 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/client/ClientStore.cpp4
-rw-r--r--src/server/ServerInterfaceImpl.cpp3
2 files changed, 4 insertions, 3 deletions
diff --git a/src/client/ClientStore.cpp b/src/client/ClientStore.cpp
index 7f2a534f..ab3847ee 100644
--- a/src/client/ClientStore.cpp
+++ b/src/client/ClientStore.cpp
@@ -512,8 +512,8 @@ ClientStore::disconnect_all(const Raul::Path& parent_patch,
SharedPtr<ObjectModel> object = _object(path);
if (!patch || !object) {
- std::cerr << "Bad disconnect all notification " << path
- << " in " << parent_patch << std::endl;
+ LOG(Raul::error) << "Bad disconnect all notification " << path
+ << " in " << parent_patch << std::endl;
return;
}
diff --git a/src/server/ServerInterfaceImpl.cpp b/src/server/ServerInterfaceImpl.cpp
index 3994e695..4c7ed140 100644
--- a/src/server/ServerInterfaceImpl.cpp
+++ b/src/server/ServerInterfaceImpl.cpp
@@ -138,7 +138,8 @@ ServerInterfaceImpl::disconnect(const Path& src,
const Path& dst)
{
if (!Path::is_path(src) && !Path::is_path(dst)) {
- std::cerr << "Bad disconnect request " << src << " => " << dst << std::endl;
+ LOG(Raul::error) << "Bad disconnect request " << src
+ << " => " << dst << std::endl;
return;
}