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, };