Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace knative.dev/pkg/logging with slogctx. #211

Merged
merged 1 commit into from
Dec 21, 2023

Conversation

wlynch
Copy link
Member

@wlynch wlynch commented Dec 13, 2023

This may cause some logging differences for things that are expecting a knative.dev/pkg/logging logger, but this should in general play nicer with the stdlib slog package.

This is a guinea pig for what switching to slog would look like for some of our stuff. Feel free to push back!

@@ -14,13 +14,13 @@ import (

grpc_prometheus "github.com/grpc-ecosystem/go-grpc-prometheus"
"github.com/prometheus/client_golang/prometheus/promhttp"
"github.com/wlynch/slogctx"
Copy link
Contributor

Choose a reason for hiding this comment

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

same comment as https://github.com/chainguard-dev/mono/pull/15471#issuecomment-1858364516

would be nice to move this under chainguard-dev

Copy link
Contributor

@k4leung4 k4leung4 left a comment

Choose a reason for hiding this comment

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

thank you

@wlynch wlynch merged commit 3d06c6c into chainguard-dev:main Dec 21, 2023
12 checks passed
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