fix test check
This commit is contained in:
@@ -56,7 +56,7 @@ pub fn Logger(comptime base_tags: []const @Type(.enum_literal)) type {
|
|||||||
comptime format: []const u8,
|
comptime format: []const u8,
|
||||||
args: anytype,
|
args: anytype,
|
||||||
) void {
|
) void {
|
||||||
if (options.disabled_in_test) return;
|
if (builtin.is_test and options.disabled_in_test) return;
|
||||||
|
|
||||||
const all_tags = comptime base_tags ++ tags;
|
const all_tags = comptime base_tags ++ tags;
|
||||||
if (!options.enabled(all_tags)) return;
|
if (!options.enabled(all_tags)) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user