/*,, TraceFile.xbt - Trace example used with XbertClass.php.
The trace file is opened, some user interaction is stored, tracing is turned off,
then reactivated for more user interaction, and one line is sent without user interaction.
The trace file is closed when the rule set ends.
*/,,
3 ,,This line is not traced.
,,The default name has the name "Trace" with a date
,, and time and ending with ".trace".
,,Tracing begins after the next line using a text file
,pau, with the default name.
,TRFile,
,,The trace file should now be open and locked.
,pau,These lines should be seen in the trace file.
# ,,Comment lines are not sent to the trace file.
# ,,Next we turn tracing off.
,Troff,
,,- - - - - This does not go to the trace file.
,, ^^^ Tracing is set off but the trace file remains open.
,pau,-- So lines with ^^^ should not be in the trace file.
# ,,Next we turn tracing back on using the trace file that is still open. The new name is ignored.
,TRF,TraIgnored.abc
# ,,The next line is sent to the trace file without user involvement.
,put,_ _ _ This message goes directly to the trace file _ _ _
,,- - - - -
,,Tracing resumes with this line.
,pau,You should find the trace file with the default name.
,end of rule set,
|