I’m trying to enable global logging after disabling it. Is this the right/recommended way to do it?
julia> module A
using Logging
f() = @info("hi")
end
Main.A
julia> A.f()
[ Info: hi
julia> Logg^C
julia> using Logging
julia> Logging.disable_logging(Logging.Info)
LogLevel(1)
julia> A.f()
julia> Base.CoreLogging._min_enabled_level
Base.RefValue{Base.CoreLogging.LogLevel}(LogLevel(1))
julia> Base.CoreLogging._min_enabled_level[] = LogLevel(0)
Info
julia> A.f()
[ Info: hi