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

Add 'link' option to skip loglevel and module info in output #50

Conversation

izikeros
Copy link
Contributor

Skip the level and module name to have log line starting with message.
This option affects also how the "block" and "module" violations are printed - the path is in the front of the message.
When using xenon in PyCharm terminal, one can benefit from PyCharm changing the path to the violation location into the active link.

For more details see Feature Request #49

@izikeros izikeros force-pushed the feature/add-pycharm-terminal-friendly-logging branch from 65f9a68 to 74f9d18 Compare November 18, 2022 07:39
rubik added a commit that referenced this pull request Oct 20, 2024
* feat: add --link option (#50)

* fix: rename links option

* fix: rename links option in xenon.core

* fix: tests

---------

Co-authored-by: Krystian Safjan <ksafjan@gmail.com>
@rubik
Copy link
Owner

rubik commented Oct 20, 2024

@izikeros Hi Krystian, thanks for your contribution. I don't think that "links" is explicit enough for the option name, I changed it to --paths-in-front. The tests also needed to be updated, so I made those changes in a separate PR and merged that one instead:
#56

@rubik rubik closed this Oct 20, 2024
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.

2 participants