Skip to content

Migrating from go-kit/kit/log to the slimmer go-kit/log#226

Merged
bboreham merged 1 commit intoweaveworks:masterfrom
dannykopping:dannykopping/go-kit
Oct 15, 2021
Merged

Migrating from go-kit/kit/log to the slimmer go-kit/log#226
bboreham merged 1 commit intoweaveworks:masterfrom
dannykopping:dannykopping/go-kit

Conversation

@dannykopping
Copy link
Copy Markdown
Contributor

go-kit has spun out its logger package, which is all this library uses.

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
@dannykopping dannykopping marked this pull request as draft October 15, 2021 14:55
@dannykopping dannykopping marked this pull request as ready for review October 15, 2021 14:55
Copy link
Copy Markdown
Collaborator

@bboreham bboreham left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes lgtm; however users should note that Level support does not interop; if they are also using go-kit/kit/log then they need to update.

@dannykopping
Copy link
Copy Markdown
Contributor Author

@bboreham
Copy link
Copy Markdown
Collaborator

Does that work? ISTM any time you have level.Debug from the two libraries one of them is not going to work.

@bboreham bboreham merged commit ebe5bdc into weaveworks:master Oct 15, 2021
@dannykopping dannykopping deleted the dannykopping/go-kit branch October 15, 2021 16:21
dannykopping added a commit to dannykopping/loki that referenced this pull request Oct 15, 2021
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
slim-bean pushed a commit to grafana/loki that referenced this pull request Oct 15, 2021
* Replacing go-kit/kit/log with go-kit/log

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>

* Appeasing the f&^$ing linter

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>

* Adding depguard

Cleaning go mod

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>

* Updating weaveworks after weaveworks/common#226 was merged

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>

* Appeasing the mod checker

Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
@bboreham bboreham mentioned this pull request Oct 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants