When developing AgileParts and AgileWorks, it is often desirable to write information to the AgilePoint Server log
The information in this article applies to:
- AgilePoint Developer
- AgilePoint Server
| TOPIC(S) |
| |
When writing AgileParts and AgileWorks, it is often desirable to write information to the AgilePoint Server log. |
| |
|
| SUMMARY |
| |
See below. |
| |
|
| DETAILS |
| |
The code below can be used to write infomation 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);
} |
| |
|