Skip to content

About debug and log #22

@lwhile

Description

@lwhile
  1. About debug:
    I think fmt.PrintX in code can be replaced by logger.

fmt.Println("removing tail block:", watcher.SyncedBlocks.Back())

  1. About log:
    Allow package users to choose whether to use the logger. For example, provide a debug mode.

Also, I can provide a PR if needed.

Metadata

Metadata

Assignees

No one assigned

    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