summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-06-30 10:47:58 -0400
committerDavid Robillard <d@drobilla.net>2022-08-17 23:34:55 -0400
commit5cb89d115fa03bcda9171d24a6cd2a525406f1a6 (patch)
treecbbd78b7de27e4d76bb23f134ccfa075e0caabb1
parent41dcb999034254a6aa1161610c38978b0b819b15 (diff)
downloadingen-5cb89d115fa03bcda9171d24a6cd2a525406f1a6.tar.gz
ingen-5cb89d115fa03bcda9171d24a6cd2a525406f1a6.tar.bz2
ingen-5cb89d115fa03bcda9171d24a6cd2a525406f1a6.zip
Improve log output
-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)() =