Skip to main content

Log Printing

The log can be printed to the console using the following codes.

Required Libraries

using Bimser.CSP.Runtime.Common.Extensions;

Code

LogExtension.Log("log",args. Context); LogExtension.Warning("warning",args. Context); LogExtension.Error("error",args. Context);

NOTE

When printing logs inside the functions of Flow objects, args. Context is available.

However, in cases where there is no access to args, for example in a function you create yourself, _workflowData.Context can be used instead.