I try to implement precompilation with PrecompileTools. It works quite good now. However, in my compile_workload() I have some code that uses @info "test" resulting in output during precompilation.
I tried to remove the output using Logging:
@compile_workload begin
warnlogger = ConsoleLogger(stderr, Logging.Warn)
oldlogger = global_logger(warnlogger)
compile_workload()
global_logger(oldlogger)
end
But this does not remove the output.
Is there another way to achieve this?