We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16bf2eb commit 6d118cfCopy full SHA for 6d118cf
src/util.jl
@@ -10,7 +10,7 @@ for level in [:trace, :debug, :info, :warn, :error, :fatal]
10
macrocall.args[1] = Symbol($"@$level")
11
quote
12
old_logger = global_logger()
13
- global_logger(Logging.ConsoleLogger(Core.stderr, old_logger.min_level))
+ global_logger(Logging.ConsoleLogger(Core.stderr, Logging.min_enabled_level(old_logger)))
14
ret = $(esc(macrocall))
15
global_logger(old_logger)
16
ret
0 commit comments