Compare commits
2 Commits
4099617646
...
57cfca97cb
| Author | SHA1 | Date | |
|---|---|---|---|
| 57cfca97cb | |||
| 42f5f94fb4 |
@@ -1,6 +1,6 @@
|
|||||||
.{
|
.{
|
||||||
.name = .faller,
|
.name = .faller,
|
||||||
.version = "0.2.0",
|
.version = "0.2.1",
|
||||||
.minimum_zig_version = "0.15.1",
|
.minimum_zig_version = "0.15.1",
|
||||||
.paths = .{
|
.paths = .{
|
||||||
"build.zig",
|
"build.zig",
|
||||||
|
|||||||
@@ -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