summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/World.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/World.cpp b/src/World.cpp
index 27d92632..4be9932a 100644
--- a/src/World.cpp
+++ b/src/World.cpp
@@ -72,6 +72,8 @@ ingen_load_library(Log& log, const string& name)
return nullptr;
}
+ log.info("Loading module %1%\n", path);
+
std::unique_ptr<Library> library = std::make_unique<Library>(path);
if (*library) {
return library;
@@ -344,7 +346,7 @@ World::load_module(const char* name)
if (i != _impl->modules.end()) {
return true;
}
- log().info("Loading %1% module\n", name);
+
std::unique_ptr<ingen::Library> lib = ingen_load_library(log(), name);
ingen::Module* (*module_load)() =