diff options
author | David Robillard <d@drobilla.net> | 2012-08-17 02:14:07 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-17 02:14:07 +0000 |
commit | 318b37d8b556add13b3f156f31c9e72eca339a16 (patch) | |
tree | ca7b881f8980a41eca77602b474f29964b5c89db /src/server/InputPort.cpp | |
parent | a42744e1068a8630d8034df73bb344ca21a53b32 (diff) | |
download | ingen-318b37d8b556add13b3f156f31c9e72eca339a16.tar.gz ingen-318b37d8b556add13b3f156f31c9e72eca339a16.tar.bz2 ingen-318b37d8b556add13b3f156f31c9e72eca339a16.zip |
Implement real logging system, LV2 log extension support, and purge evil/ugly/untranslatable C++ stream printing.
Remove coloured log stuff from Raul.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4717 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/InputPort.cpp')
-rw-r--r-- | src/server/InputPort.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp index 8e50e3b8..0bce5b93 100644 --- a/src/server/InputPort.cpp +++ b/src/server/InputPort.cpp @@ -17,6 +17,9 @@ #include <cstdlib> #include <cassert> +#include "ingen/Log.hpp" +#include "ingen/URIs.hpp" + #include "Buffer.hpp" #include "BufferFactory.hpp" #include "EdgeImpl.hpp" @@ -26,7 +29,6 @@ #include "OutputPort.hpp" #include "PatchImpl.hpp" #include "ProcessContext.hpp" -#include "ingen/URIs.hpp" #include "mix.hpp" using namespace std; @@ -143,8 +145,7 @@ InputPort::remove_edge(ProcessContext& context, const OutputPort* tail) } if (!edge) { - Raul::error << "[InputPort::remove_edge] Edge not found!" - << std::endl; + context.engine().log().error("Attempt to remove non-existent edge\n"); return NULL; } |