Skip to content
New issue

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

extension: map parser CRITICAL loglevel to Sphinx ERROR #205

Merged
merged 1 commit into from
Oct 23, 2023

Conversation

jnikula
Copy link
Owner

@jnikula jnikula commented Oct 22, 2023

Sphinx does recognize CRITICAL loglevel, but internally it never uses it, and it does not color highlight CRITICAL the way it highlights ERROR.

Map parser CRITICAL to Sphinx ERROR level to get the console highlighting.

See also https://github.com/sphinx-doc/sphinx/blob/master/sphinx/util/logging.py#L45

Sphinx does recognize CRITICAL loglevel, but internally it never uses
it, and it does not color highlight CRITICAL the way it highlights
ERROR.

Map parser CRITICAL to Sphinx ERROR level to get the console
highlighting.
Copy link
Collaborator

@BrunoMSantos BrunoMSantos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jnikula jnikula merged commit b1a34b8 into master Oct 23, 2023
5 checks passed
@jnikula
Copy link
Owner Author

jnikula commented Oct 23, 2023

👍

Thanks, merged!

@jnikula jnikula deleted the critical-loglevel branch October 23, 2023 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants