busimus / cutelog

GUI for logging
MIT License
484 stars 45 forks source link

Clear the log programmtically #28

Closed rokdd closed 1 year ago

rokdd commented 2 years ago

Very nice application, it really does everything what I need. Except that I always need manually trim the log before starting my code again. Would be nice if there would be a option to this either after the connection is dropped and started again, or programmatically from python code.

busimus commented 2 years ago

That is a good idea.

I added a "New connection clears records" setting in the Server section. It only works in single tab mode (because it doesn't make sense otherwise), so it forces it to be enabled.

Try running the branch with this feature and tell me if everything works the way you expect:

pip install git+https://github.com/busimus/cutelog.git@new_conn_clears
rokdd commented 1 year ago

That sounds brilliant, thanks! .. I will come back in November when I tested, I am currently not working.

busimus commented 1 year ago

I finally got a chance to test it myself, so I'll merge it.

rokdd commented 1 year ago

Perfect it works.. thanks for your quick new feature and the whole tool itself.