Skip to content

print_detailed() should be replaced with a string builder #22

@glennmatthews

Description

@glennmatthews

Environment

  • DSync version:

Proposed Functionality

Currently the print_detailed APIs on DSync, DSyncModel, Diff, and DiffElement print to stdout when called. These should be changed/refactored so that they instead construct and return an assembled string, which the caller can then print(), log.debug(), etc. as desired.

Use Case

The current functionality is useful for debugging but not for integrated use cases where logging would be more appropriate.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions