Lower verbosity (print statements only) for textual console #2161
davetapley
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
So after a bit more 👀 I found this is already possible with:
Lines 4 to 15 in ab0de01 To exclude everything except warning, errors, and textual console -x SYSTEM -x EVENT -x DEBUG -x INFO |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I found a solution!
Does anyone else find it frustrating to have to grep pages of this:
Just to find a
print
they put in to quickly debug something?If so please give this a 👍🏻
I presume it would be a fairly simple PR since we already have:
textual/src/textual/devtools/renderables.py
Lines 107 to 110 in ab0de01
Could either add new
--print-only
flag, or maybe make-v
an enum? 🤔Beta Was this translation helpful? Give feedback.
All reactions