summaryrefslogtreecommitdiff
path: root/trace/silent.ha
diff options
context:
space:
mode:
authorLassi Pulkkinen <lassi@pulk.fi>2024-10-31 03:11:21 +0200
committerLassi Pulkkinen <lassi@pulk.fi>2024-10-31 03:51:35 +0200
commitae44478b30d890fe0fb04022f44d474dcdcc3f9d (patch)
tree5f462459ae4b47d22114eed717d1382d08cf4dfe /trace/silent.ha
Initial commit (import old repo)HEADmain
Diffstat (limited to 'trace/silent.ha')
-rw-r--r--trace/silent.ha15
1 files changed, 15 insertions, 0 deletions
diff --git a/trace/silent.ha b/trace/silent.ha
new file mode 100644
index 0000000..4fdcde3
--- /dev/null
+++ b/trace/silent.ha
@@ -0,0 +1,15 @@
+use fmt;
+
+export const silent = tracer {
+ log = &silent_log,
+};
+
+fn silent_log(
+ tr: *tracer,
+ ctx: nullable *context,
+ lvl: level,
+ fmt: str,
+ fields: fmt::field...
+) void = {
+ void;
+};