When developing AgileParts and AgileWorks, it is often desirable...

Expand / Collapse
 
     

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);

}

  
Last Reviewed: 
Keywords: 

Add Your Comments


Name: *
Email Address:
Web Address:
Verification Code:
*
 

Details
Last Modified:Wednesday, September 28, 2011
Last Modified By: MichaelDa
Type: INFO
Rated 3 stars based on 1 vote.
Article has been viewed 53,690 times.
Options