8000 `print` logs should be captured per transition to make it easy to debug on error · Issue #192 · fizzbee-io/fizzbee · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
print logs should be captured per transition to make it easy to debug on error #192
@jp-fizzbee

Description

@jp-fizzbee

At present, the print logs are directly printed using standard Go's fmt.Println. Ideally these print logs should be captured per transition. So, we would be able to replay the logs in the error trace when debugging.

Where we associate the logs depends on the context where the logs are printed

  1. Action: All the logs printed should be associated with the transition/ *Link.
  2. Transition assertions: The Print statements within the transition should be associated with the transition *Link.
  3. Safety and liveness assertions: These should be associated with the state *Node.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0