aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-10-04 17:26:32 +0200
committerEelco Dolstra <edolstra@gmail.com>2019-10-04 17:26:32 +0200
commita323b7826c1104a6404c5fdfd4a824a0d5598618 (patch)
tree9ff2d0abe60218b5be032db8352d22628c1d0eca /src/libexpr
parent21e2088c1b6f5458f31fd368f416d45e4eb2bc5f (diff)
parent93b1ce1ac522ff92626da5cdd689008063935844 (diff)
Merge remote-tracking branch 'origin/master' into flakes
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/function-trace.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libexpr/function-trace.hh b/src/libexpr/function-trace.hh
index 8234b7603..8b0ec848d 100644
--- a/src/libexpr/function-trace.hh
+++ b/src/libexpr/function-trace.hh
@@ -12,13 +12,13 @@ struct FunctionCallTrace
FunctionCallTrace(const Pos & pos) : pos(pos) {
auto duration = std::chrono::high_resolution_clock::now().time_since_epoch();
auto ns = std::chrono::duration_cast<std::chrono::nanoseconds>(duration);
- vomit("function-trace entered %1% at %2%", pos, ns.count());
+ printMsg(lvlInfo, "function-trace entered %1% at %2%", pos, ns.count());
}
~FunctionCallTrace() {
auto duration = std::chrono::high_resolution_clock::now().time_since_epoch();
auto ns = std::chrono::duration_cast<std::chrono::nanoseconds>(duration);
- vomit("function-trace exited %1% at %2%", pos, ns.count());
+ printMsg(lvlInfo, "function-trace exited %1% at %2%", pos, ns.count());
}
};
}