pub fn err(
comptime format: []const u8,
args: anytype,
) void format: []const u8args142
143
144
145
146
147
148 pub fn err(
comptime format: []const u8,
args: anytype,
) void {
@branchHint(.cold);
log(.err, scope, format, args);
}
Log an error message. This log level is intended to be used when something has gone wrong. This might be recoverable or might be followed by the program exiting.