Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.

Correlating Activities Across Layers


What is the best approach within the SmartInspect library to express the concept of activity ID (similar to Trace.CorrelationManager)? How does this transfer across layers (similar to TraceTransfer, for easier correlation?


Hello Colin,

Thanks for your posting. It’s not currently possible to use custom fields/attributes with SmartInspect, but you could use SmartInspect’s session concept to track related log messages across different modules/layers. You can learn more about sessions in SmartInspect’s reference help and in the examples we ship with SmartInspect.

I hope this helps.