Skip to content

Commit

Permalink
silence spammy logs from build script
Browse files Browse the repository at this point in the history
  • Loading branch information
kristoff-it committed Oct 23, 2024
1 parent c3f20db commit 0268440
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion build/content.zig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ const templating = @import("templating.zig");
const context = @import("../src/context.zig");
const zine = @import("../build.zig");

const log = std.log.scoped(.scan);
const log = struct {
const l = std.log.scoped(.scan);

pub fn debug(comptime fmt: []const u8, args: anytype) void {
if (false) l.debug(fmt, args);
}
};

const FrontParser = ziggy.frontmatter.Parser(context.Page);
const TranslationKeyIndex = std.StringArrayHashMap(TKEntry);
Expand Down

0 comments on commit 0268440

Please sign in to comment.