commit 7254faea4a7006d183da73595d4f86130eeca413
parent 1c6c7673fb9144b4f6cd963bdeeef64ac6d54fc0
Author: Florian Dold <dold@taler.net>
Date: Tue, 21 Jul 2026 00:40:56 +0200
util: pass variadic arguments through to native logging
writeNativeLog built a formatted message including the extra arguments and
then logged the raw one, dropping them.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/taler-util/src/logging.ts b/packages/taler-util/src/logging.ts
@@ -110,7 +110,7 @@ function writeNativeLog(
} else {
m = message + " " + args.toString();
}
- logFn(level, tag, message);
+ logFn(level, tag, m);
}
}