From 12d9d26af1d7dea30a4bee0de1fad9bc35fa48a8 Mon Sep 17 00:00:00 2001
From: David Robillard <d@drobilla.net>
Date: Mon, 5 Nov 2007 23:26:05 +0000
Subject: Module loading printage.

git-svn-id: http://svn.drobilla.net/lad/ingen@909 a436a847-0d15-0410-975c-d299462d15a1
---
 src/libs/module/Module.cpp | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/libs/module')

diff --git a/src/libs/module/Module.cpp b/src/libs/module/Module.cpp
index 1c6c7788..8f3d6e81 100644
--- a/src/libs/module/Module.cpp
+++ b/src/libs/module/Module.cpp
@@ -59,6 +59,7 @@ load_module(const string& name)
 				module = new Glib::Module(filename, Glib::MODULE_BIND_LAZY);
 
 				if (*module) {
+					cerr << "Loaded module \"" <<  name << "\" from " << filename << endl;
 					return SharedPtr<Glib::Module>(module);
 				} else {
 					delete module;
@@ -74,6 +75,7 @@ load_module(const string& name)
             Glib::MODULE_BIND_LAZY);
 
 	if (*module) {
+		cerr << "Loaded module \"" <<  name << "\" from " << INGEN_MODULE_DIR << endl;
 		return SharedPtr<Glib::Module>(module);
 	} else {
 		cerr << "Unable to load module \"" <<  name << "\" (try setting INGEN_MODULE_PATH)." << endl;
-- 
cgit v1.2.1