I opened an issue over at GPUCompiler.jl flagging some interoperability issues with the two pacakges: JuliaGPU/GPUCompiler.jl#723
For context: I'm using CUDA (which depends on GPUCompiler.jl) to run numerical simulations.
I want to log both to console and file (can give more context on our workflow, if needed).
As described in the issue, their @safe_debug inspects the logging level to determine whether it should print, or not. Because this package is as flexible as it is, the TeeLogger for example, doesn't necessarily carry this information.
If anyone here has ideas for how to approach this, and whether any "fix" would need to be implemented here or in the other package, that would be appreciated.