Writing to the Trace Log from the Code Module

When using the Code Module, it is sometimes helpful to print out a message directly to the Trace Log panel (accessible on the bottom of the Designer), similar to how one might use Console.WriteLine("message");.

Inside the Composable Code module, you can use:

System.Diagnostics.Trace.WriteLine("message");

System.Diagnostics.Trace.TraceWarning("Warning Message");

System.Diagnostics.Trace.TraceError("Error Message");

The output will look like this:


Sign In or Register to comment.