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

refactor: pass in logger to service so caller can control logs #207

Merged
merged 35 commits into from
Sep 23, 2024

Conversation

sbruens
Copy link

@sbruens sbruens commented Sep 9, 2024

This is generally good practice so the caller has more control over logging (and can decide to drop logging altogether), but specifically will allow us to inject a Caddy logger in a forthcoming PR where we introduce a Caddy module.

@sbruens sbruens requested a review from a team as a code owner September 9, 2024 20:41
@sbruens sbruens requested a review from fortuna September 9, 2024 20:42
internal/integration_test/integration_test.go Outdated Show resolved Hide resolved
service/tcp.go Outdated Show resolved Hide resolved
service/tcp.go Outdated Show resolved Hide resolved
@sbruens sbruens force-pushed the sbruens/logger branch 2 times, most recently from b6621e2 to b7bbfa0 Compare September 16, 2024 21:34
service/tcp.go Outdated Show resolved Hide resolved
Base automatically changed from sbruens/service to master September 18, 2024 19:44
service/logger.go Outdated Show resolved Hide resolved
service/logger.go Show resolved Hide resolved
@sbruens sbruens merged commit 5d3d6db into master Sep 23, 2024
5 checks passed
@sbruens sbruens deleted the sbruens/logger branch September 23, 2024 18:33
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