Closed vonNiklasson closed 2 years ago
Why the fallback? When would the other logger fail?
Why the fallback? When would the other logger fail?
It's basically just to ensure backwards compatibility, hence why it refers to the logging_utils
module.
Also, the reason for the change from logging
to logging_utils
were because some IDE's and editors had trouble differentiating between the built in logging module and this one (probably had something to do with the order of updating the pythonpath and unspecified referencing from the IDE). Not a runtime issue though.
Wanna rebase this, sir?
Don't mind if I do
Turns out I don't have write access anymore since I seceded my permissions to this repo a while ago. I could of course fork and do a PR, but would you mind rebasing this for me just this once @naslundx?
LGTM! 🎈
Put back the
webtraversallibrary.logging
module for backwards compatibility, as well as a fix for editors who tries to import thewebtraversallibrary.logging
module locally at runtime.