You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like that rich provides better styling - but I wish the variable names gets printed too. This will make more convenient debugging - as I don't have to type the variable name again.
Correct me if I'm wrong, I don't think this feature is currently supported.
Hopefully this feature can be easily implemented given that rich already have access to relevant variable names via log_locals (example below):
The text was updated successfully, but these errors were encountered:
Currently an icecream user - Came across this package - Love it!
One thing I like about
icecream
is that it's able to print out the name of the variable I'm logging. This makes debugging easier.I've attached a screenshot comparing the debugging/logging of the same variable(s) below:
This is produced by:
Note the
text_data
,txt
,num
are also printed.I like that rich provides better styling - but I wish the variable names gets printed too. This will make more convenient debugging - as I don't have to type the variable name again.
Correct me if I'm wrong, I don't think this feature is currently supported.
Hopefully this feature can be easily implemented given that
rich
already have access to relevant variable names vialog_locals
(example below):The text was updated successfully, but these errors were encountered: