workflow-core icon indicating copy to clipboard operation
workflow-core copied to clipboard

Incorrect style of writing logs

Open pashtetus1 opened this issue 3 years ago • 1 comments

Incorrect style of writing logs

 _logger.LogDebug("Starting step {0} on workflow {1}", step.Name, workflow.Id);
 _logger.LogError(ex, "Workflow {0} raised error on step {1} Message: {2}", workflow.Id, pointer.StepId, ex.Message);

I have some problems with fields 1 2 3

Can I or someone change the names to strings ? Somethings like workflowId StepId and Message

pashtetus1 avatar Jul 26 '22 08:07 pashtetus1

Created pr https://github.com/danielgerlag/workflow-core/pull/1073

pashtetus1 avatar Jul 26 '22 13:07 pashtetus1