busimus / cutelog

GUI for logging
MIT License
479 stars 45 forks source link

Feature request: keep focus on the log record when toggling levels #19

Open dimapu opened 3 years ago

dimapu commented 3 years ago

First, I wanted to thank the authors for the nice piece of software.

I have the following feature request, which would help studying the logs.

Use case

Let's say, I have INFO (not too many) and DEBUG (a lot!) messages. When disabling display of DEBUG messages in the Levels panel, I can conveniently browse through the INFO messages and find the one I am interested in. I click on it in the entry list to select it. Then I click on a DEBUG tick box to start showing more detailed log.

What happens now

The list of log entries is scrolled and the selected INFO entry moves out of the screen. It takes effort to find it by its time, for example.

Desired behavior

The selected entry stays on the screen, and I can immediately explore DEBUG entries just before and just after the selected one.

Hope this is clear and you will find it useful too. Regards, Dima.