Closed freakpol closed 4 years ago
Added option to run flows with custom debug key (namespaces):
The optional parameter options
can include the debug key as follows:
{
debugKey: 'custom-scope'
}
This parameter can be specified when running flows in any of the forms:
FlowManager.run(flowSpec, params, expectedResults, resolvers, context, options)
FlowManager.runFromString(flowSpec, params, expectedResults, resolvers, context, options)
FlowManager.runFromFile(flowSpec, params, expectedResults, resolvers, context, options)
FlowManager.runFromUrl(flowSpec, params, expectedResults, resolvers, context, options)
Available in version 1.9.0
.
It would be convenient to have a way to add an extra namespace to the calls to
debug
, in order to better filter the logs using the DEBUG variable.