From de228d99dda0ba9f25bf0725b0a706a65b0c50a5 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 10 Feb 2024 16:45:00 -0800 Subject: [PATCH] logfn doesn't need to be pub --- src/main_ghostty.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main_ghostty.zig b/src/main_ghostty.zig index fadd4fd28..8b9203e26 100644 --- a/src/main_ghostty.zig +++ b/src/main_ghostty.zig @@ -110,7 +110,7 @@ pub fn main() !MainReturn { } // The function std.log will call. -pub fn logFn( +fn logFn( comptime level: std.log.Level, comptime scope: @TypeOf(.EnumLiteral), comptime format: []const u8, @@ -161,6 +161,7 @@ pub const std_options: std.Options = .{ .Debug => .debug, else => .info, }, + .logFn = logFn, };