Cloning and timeline browsing: this project is on ChiselApp: chiselapp.com/user/kiatoa

Changes to "LogProcessor" between 2011-11-02 16:36:23 and 2012-10-25 19:55:46

︙
46
47
48
49
50
51
52








53
54
55
56
57
58
59
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67







+
+
+
+
+
+
+
+








You almost certainly want a section which covers the entire log file, here we call it "body". We cheat and do not create a trigger for the end of the section since we want that section valid for the entire log file:

<verbatim>
(trigger "Body"     #/^.*$/) ;; anything starts the body
(section "Body"     "Body" "EndBody")
</verbatim>

Some sections may occur multiple times in a file. Use trigger-with-limit for those. Use a large number if you don't know how many times the trigger may be hit.

<verbatim>
(trigger-with-limit "Blah5"    100 #/^begin Blah5/)
(trigger-with-limit "Blah5End" 100 #/^end Blah5/)
(section "Blah5" "Blah5" "Blah5End")
</verbatim>

<h3>Required Expects</h3>

There will be some lines in your log file that, if missing, indicate a problem. Create required expects for those:

<verbatim>
;; If we don't get a header then we know something went badly wrong
︙