From 036ddb7f49067fde8ce0bbeaea6fe274365c1979 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Wed, 24 Sep 2025 10:56:00 -0700 Subject: [PATCH] less noisy in release mode --- src/root.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/root.zig b/src/root.zig index 264831c..8b5014c 100644 --- a/src/root.zig +++ b/src/root.zig @@ -450,7 +450,7 @@ pub const Parser = struct { altered = final_buf[0..len :0]; if (altered.len == 0) { - std.log.info("Removed null word '{s}' in sentence {d} time(s). Sentence now empty", .{ trimmed, removals }); + std.log.debug("Removed null word '{s}' in sentence {d} time(s). Sentence now empty", .{ trimmed, removals }); return error.SentenceEmptyAfterNullRemoval; } std.log.info("Removed null word '{s}' in sentence {d} time(s). Sentence now:\n\t{s}", .{