FAQs / AgilePoint Developer |
When writing AgileParts and AgileWorks, it is often desirable to write information to the AgilePoint Server log.
The code below can be used to write information about your custom AgilePart or AgileWork to the AgilePoint Server log file.
Logger.WriteLine(“YourAgilePartName: {0}”, yourLogMessge) If you wish to write log messages only when AgilePoint Server debug mode is enabled, check WFSystem.DebugMode as follows: if (WFSystem.DebugMode) { Logger.WriteLine(“YourAgilePartName: {0}”, yourLogMessge); }