Skip to content

Add logger to bbolt #509

Description

@ahrtr

Currently bbolt only returns error to caller. It should support printing log message as well.

We can follow the same way as raft does,

  • Define a Logger interface, and the caller can pass into any implementation they like.
  • bbolt implements a default implementation if users do not pass in any logger implementation.
  • Add log messages. e.g. all error cases should have an error message.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions