less noisy in release mode
This commit is contained in:
parent
a41c94b2c9
commit
036ddb7f49
1 changed files with 1 additions and 1 deletions
|
@ -450,7 +450,7 @@ pub const Parser = struct {
|
||||||
altered = final_buf[0..len :0];
|
altered = final_buf[0..len :0];
|
||||||
|
|
||||||
if (altered.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;
|
return error.SentenceEmptyAfterNullRemoval;
|
||||||
}
|
}
|
||||||
std.log.info("Removed null word '{s}' in sentence {d} time(s). Sentence now:\n\t{s}", .{
|
std.log.info("Removed null word '{s}' in sentence {d} time(s). Sentence now:\n\t{s}", .{
|
||||||
|
|
Loading…
Add table
Reference in a new issue