Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Incorrect style of writing logs #1072

@pashtetus1

Description

@pashtetus1

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions