Debug and Trace Messages

MSRS provides an interface for viewing error and informational messages returned by a service (refer to Figure 2-8). Filters allow you to restrict the types of messages displayed. For example, if you only select the Error check box, then only messages marked with a trace level of error will appear in the list. You can also restrict the output to display messages generated from a certain source or category.

To log the messages that appear in the console output service, you will need to call one of the following logging functions provided with the DSSP service base:

  • LogInfo. Logs message with a trace level of info. These messages will appear with two stars and a yellow background for the level column.

  • LogError. Logs messages ...

Get Programming Microsoft® Robotics Studio now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.