DebugViewPP icon indicating copy to clipboard operation
DebugViewPP copied to clipboard

Find and replace incoming messages to make logs more human readable

Open janwilmans opened this issue 10 years ago • 1 comments

As far as your own components go (this ones you can change the source code of) you should of course just improve the logging, rather than using this feature. However, for analyzing third-party logging, this could be very helpful.

We could add a inline find-replace feature. using a regex as find-match and matched groups in the replace string.

ie. find: "Axis::OnEvent((.), 1)" replace: "Axis::OnEvent(\1, 1 == Moving)" find: "Axis::OnEvent((.), 4)" replace: "Axis::OnEvent(\1, 1 == Completed)"

Would turn:

Axis::OnEvent(021CFF84, 1)
Axis::OnEvent(021D001C, 4)

into:

Axis::OnEvent(021CFF84, 1 == Moving)
Axis::OnEvent(021D001C, 4 == Completed)

janwilmans avatar Feb 19 '14 08:02 janwilmans