Skip to content

Use Options pattern to pass config and log #107

Open

Description

@butonic

Pass in a common structured logger interface like https://github.com/go-logr/logr and config using the options pattern, see https://www.sohamkamani.com/blog/golang/options-pattern/

This will be a breaking change because the exposed api changes ... v2 here we come!

Activity

  1. self-assigned this
    on Feb 25, 2020
  2. added
    enhancement
    on Feb 25, 2020
  3. added this to the v2.0.0 milestone on Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions