TraceListenerFile :: OnTrace |
01 | TraceListener implementation; Writes the trace message to a text file. |
02 |
[C++] virtual void OnTrace(TraceEntry const &entry); |
03 |
Parameters:
|
04 | If no text file is currently open, one is created (possibly overwriting an existing one) with the current file counter, starting at 0. |
05 | At the start of a new trace file, some process information is written as the header of the file, finished by a blank line. |
06 | The full trace message is written to the file, ending with a newline. |
07 | If a certain amount of trace entries is reached, the file will be closed and the file counter becomes incremented. The current limit of trace entries per file is 100000. |
08 | If the file counter reaches the file count limit, it is reset to 1 (preserving the first file with 0). |
09 |
Reference: net::semys Implementation: Semys Architecture See Also: Arch Trace Sub-System, TraceListenerStdOutput |
Goto: Main Page; This page is part of the Semys software documentation. See About: Documentation for details. |