I am writing a columnizer, and the columnizer will collect specific info from specific lines when split them.
Then, after all line splite done, I want to do some thing on the collected info.
So, I need the trigger that indicates all line split done.
Only for offline log processing.
I have ever tried the method below, but didn't work.
- count the times that PreProcessLine() have been called
- and then the times of SplitLine()
- When SplitLine() call times equal PreProcessLine() call times, take it as the trigger.
I found that the SplitLine() will also be called even if all line have been processed by the columnizer when I click in the log view.
So, for offline log processing, is it any event can be take as the trigger that all line split done? or, is it feasible to know the event?