summaryrefslogtreecommitdiffstats
path: root/src/module
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-17 01:49:34 +0000
committerDavid Robillard <d@drobilla.net>2008-11-17 01:49:34 +0000
commit6fc9a57ed545cf28169902351b31cfefe49cb2c9 (patch)
tree8ebab488a413bad05b026b68e902a0fc63ef99ba /src/module
parentcf864d7baf11a488c811cdabf3068cf76626b3fd (diff)
downloadingen-6fc9a57ed545cf28169902351b31cfefe49cb2c9.tar.gz
ingen-6fc9a57ed545cf28169902351b31cfefe49cb2c9.tar.bz2
ingen-6fc9a57ed545cf28169902351b31cfefe49cb2c9.zip
Tidy up console output.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1749 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/module')
-rw-r--r--src/module/Module.cpp8
1 files changed, 4 insertions, 4 deletions
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<Glib::Module>(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<Glib::Module>(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<Glib::Module>();
} 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<Glib::Module>();