summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tools/execution-results.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tools/execution-results.h b/src/tools/execution-results.h
index 427100628..f57ffe101 100644
--- a/src/tools/execution-results.h
+++ b/src/tools/execution-results.h
@@ -40,7 +40,19 @@ struct LoggingExternalInterface : public ShellExternalInterface {
loggings.push_back(argument);
}
std::cout << "]\n";
+ return {};
+ } else if (import->module == ENV) {
+ if (import->base == "log_execution") {
+ std::cout << "[LoggingExternalInterface log-execution";
+ for (auto argument : arguments) {
+ std::cout << ' ' << argument;
+ }
+ std::cout << "]\n";
+ return {};
+ }
}
+ std::cerr << "[LoggingExternalInterface ignoring an unknown import "
+ << import->module << " . " << import->base << '\n';
return {};
}
};