FormDirector provides the ability to control the level of information written to the debug log as well as the ability to turn off writing to a file completely.
Control Debugging Information
Use the following properties of the FormDirector component instance to adjust the settings of your debugging for optimal performance.
- Debug - Turns on or off the ability to write to the debug log file.
- DebugLogFile - A filename which stores the debug log information.
- ErrorLevel - Controls the amount of information that is written to the debug log file.
Considerations for Debugging
Because debugging and writing debug information to a log file is time consuming and expensive, consider setting the ErrorLevel to Production for deployment of your application.
See Also