CobaltFusion / DebugViewPP

DebugView++, collects, views, filters your application logs, and highlights information that is important to you!
Boost Software License 1.0
1.01k stars 143 forks source link

Find and replace incoming messages to make logs more human readable #115

Open janwilmans opened 10 years ago

janwilmans commented 10 years ago

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 commented 10 years ago

We might be able to think of a mechanism to do this and also format received UDP messages correctly. related to #149