Operation Monitor
From Open Forex Platform Wiki
The Platform applies two main support systems to monitor its own operation.
- System Monitor
This is the main support class component. It allows to report, in a managed structured and controlled way, any occurrences our of the ordinary. It is used to cover important cases like a part of the system not properly functioning at run-time or a resource accessibility problem. It also serves as an "early warning" system, to notify when the normal operation of the application is somehow disturbed. All the events that come to the system monitor system are available trough the Diagnostics component as a result of a Tracer output (unless explicitly filtered out of it or Tracer is disabled). Also in "Full Diagnostics Mode" important events are shown as pop-up messages, to allow for easy run-time error detection during testing. See the SystemMonitor class for more information (inside the CommonSupport project).
- Tracer
Used as the general centralized output system. It takes care of reporting any system events to the user (be it trough some run-time user interface, like the Diagnostics Component, traced to a file for later analysis or consumed by external "event sink"). Tracer can be used to trace out not only system messages, but also ones generated by custom components or ones direct result of user actions. The tracer system allows application of "Trace filters" to filter out needed from unneeded events. some simple trace filters are applied at the Diagnostics Component. See Tracer and TracerHelper classes for more details on operation (both are inside the CommonSupport project).

