We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class A: def f(): logger = logging.getLogger("a") logger.use_qualname = True formatter = logging.Formatter("%(funcName)s - %(message)s") handler.setFormatter(formatter) logger.addHandler(handler) logger.setLevel(logging.INFO) logger.info("abc")
Result will include classname and not just function.
I have already discussed this feature proposal on Discourse
https://discuss.python.org/t/add-ability-to-log-qualified-name-in-logging-package/76560
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Feature or enhancement
Proposal:
Result will include classname and not just function.
Has this already been discussed elsewhere?
I have already discussed this feature proposal on Discourse
Links to previous discussion of this feature:
https://discuss.python.org/t/add-ability-to-log-qualified-name-in-logging-package/76560
Linked PRs
The text was updated successfully, but these errors were encountered: