From 6fc9a57ed545cf28169902351b31cfefe49cb2c9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 17 Nov 2008 01:49:34 +0000 Subject: Tidy up console output. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1749 a436a847-0d15-0410-975c-d299462d15a1 --- src/gui/App.cpp | 2 +- src/gui/ThreadedLoader.cpp | 1 - src/ingen/main.cpp | 2 -- src/module/Module.cpp | 8 ++++---- 4 files changed, 5 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/gui/App.cpp b/src/gui/App.cpp index 615ac36f..565a976e 100644 --- a/src/gui/App.cpp +++ b/src/gui/App.cpp @@ -413,7 +413,7 @@ App::icon_from_path(const string& path, int size) _icons.insert(make_pair(make_pair(path, size), buf.operator->())); buf->add_destroy_notify_callback(new pair(path, size), &App::icon_destroyed); - cerr << "Loaded icon " << path << " with size " << size << endl; + //cerr << "Loaded icon " << path << " with size " << size << endl; } catch (Glib::Error e) { cerr << "Error loading icon: " << e.what() << endl; } diff --git a/src/gui/ThreadedLoader.cpp b/src/gui/ThreadedLoader.cpp index 0dd1b1dd..bc88b9a7 100644 --- a/src/gui/ThreadedLoader.cpp +++ b/src/gui/ThreadedLoader.cpp @@ -92,7 +92,6 @@ ThreadedLoader::load_patch(bool merge, Glib::ustring engine_base = ""; if (engine_parent) { - cout << "A " << merge << endl; if (merge) engine_base = engine_parent.get(); else diff --git a/src/ingen/main.cpp b/src/ingen/main.cpp index f167ed36..7fd4545b 100644 --- a/src/ingen/main.cpp +++ b/src/ingen/main.cpp @@ -297,8 +297,6 @@ main(int argc, char** argv) engine->main(); } - cout << "Exiting." << endl; - if (engine) { engine->deactivate(); engine.reset(); diff --git a/src/module/Module.cpp b/src/module/Module.cpp index a42e466b..98984aac 100644 --- a/src/module/Module.cpp +++ b/src/module/Module.cpp @@ -55,7 +55,7 @@ load_module(const string& name) if (Glib::file_test(filename, Glib::FILE_TEST_EXISTS)) { module = new Glib::Module(filename, Glib::MODULE_BIND_LAZY); if (*module) { - cerr << "Loaded module \"" << name << "\" from " << filename << endl; + cerr << "[Module] Loaded \"" << name << "\" from " << filename << endl; return SharedPtr(module); } else { delete module; @@ -71,14 +71,14 @@ load_module(const string& name) Glib::MODULE_BIND_LAZY); if (*module) { - cerr << "Loaded module \"" << name << "\" from " << INGEN_MODULE_DIR << endl; + cerr << "[Module] Loaded \"" << name << "\" from " << INGEN_MODULE_DIR << endl; return SharedPtr(module); } else if (!module_path_found) { - cerr << "Unable to find module " << name + cerr << "[Module] Unable to find " << name << " (" << Glib::Module::get_last_error() << ")" << endl; return SharedPtr(); } else { - cerr << "Unable to load module " << name << " from " << module_path + cerr << "[Module] Unable to load " << name << " from " << module_path << " (" << Glib::Module::get_last_error() << ")" << endl; cerr << "Is Ingen installed? Use ./ingen.dev to run from the source tree." << endl; return SharedPtr(); -- cgit v1.2.1