fix(3p/nix): Make traces log, not dlog

We don't want traces compiled out since they're an actual language
feature that're used in userspace - also their absence is breaking the
tests

Change-Id: Icaefca8f52e94001785f724fdc0c10a7586b24e7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/562
Reviewed-by: lukegb <lukegb@tvl.fyi>
Reviewed-by: Kane York <rikingcoding@gmail.com>
Reviewed-by: lukegbot <bot@lukegb.com>
This commit is contained in:
Griffin Smith 2020-06-22 20:53:41 -04:00 committed by glittershark
parent de5db029e8
commit b94d9f89dc

View file

@ -532,9 +532,9 @@ static void prim_trace(EvalState& state, const Pos& pos, Value** args,
Value& v) {
state.forceValue(*args[0]);
if (args[0]->type == tString) {
DLOG(INFO) << "trace: " << args[0]->string.s;
LOG(INFO) << "trace: " << args[0]->string.s;
} else {
DLOG(INFO) << "trace: " << *args[0];
LOG(INFO) << "trace: " << *args[0];
}
state.forceValue(*args[1]);
v = *args[1];