parent
4d6d842fa5
commit
d4b6b97c01
@ -33,7 +33,7 @@ pub const log_level = .debug;
|
||||
|
||||
var actual_log_level: std.log.Level = switch (zig_builtin.mode) {
|
||||
.Debug => .debug,
|
||||
else => build_options.log_level,
|
||||
else => @intToEnum(std.log.Level, @enumToInt(build_options.log_level)), //temporary fix to build failing on release-safe due to a Zig bug
|
||||
};
|
||||
|
||||
pub fn log(comptime message_level: std.log.Level, comptime scope: @Type(.EnumLiteral), comptime format: []const u8, args: anytype) void {
|
||||
|
Loading…
Reference in New Issue
Block a user