Is it possible to conditionally override levelname in formatting of Python logger?
I am currently working on some Python code that will be executed by a larger C# web project. The C# code uses NLog to create log files. I have got my Python logger logging to the same file. Also, I have it matching the output format being used by NLog almost exactly by using the following setup: