Skip to content

Commit b5bc9b4

Browse files
committed
Fix validation callback with non-default loggers
1 parent 733083d commit b5bc9b4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "Vulkan"
22
uuid = "9f14b124-c50e-4008-a7d4-969b3a6cd68a"
3-
version = "0.6.19"
3+
version = "0.6.20"
44
authors = ["Cédric Belmant"]
55

66
[deps]

src/validation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ for level in [:debug, :info, :warn, :error]
77
macrocall = Expr(:macrocall, Symbol($"@$level"), __source__, ex...)
88
quote
99
# Log to `Base.stderr`
10-
with_logger(Logging.ConsoleLogger(stderr, global_logger().min_level)) do
10+
with_logger(Logging.ConsoleLogger(stderr, Logging.min_enabled_level(global_logger()))) do
1111
$(esc(macrocall))
1212
end
1313
end

0 commit comments

Comments
 (0)