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

chore(logger): move logger to internal #1979

Merged
merged 1 commit into from
Apr 7, 2025

Conversation

vprashar2929
Copy link
Collaborator

This commit moves logger to internal package.

Follow up to #1977

Copy link

codecov bot commented Apr 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.09%. Comparing base (43c375f) to head (578992d).
Report is 2 commits behind head on reboot.

Additional details and impacted files
@@            Coverage Diff             @@
##           reboot    #1979      +/-   ##
==========================================
- Coverage   99.22%   97.09%   -2.14%     
==========================================
  Files           3        4       +1     
  Lines         129      172      +43     
==========================================
+ Hits          128      167      +39     
- Misses          1        4       +3     
- Partials        0        1       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vprashar2929
Copy link
Collaborator Author

pre-commit failure is addressed in #1980

@@ -24,7 +24,7 @@ import (
"strings"
)

func setupLogger(level, format string) *slog.Logger {
func SetupLogger(level, format string) *slog.Logger {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
func SetupLogger(level, format string) *slog.Logger {
func New(level, format string) *slog.Logger {

sthaha
sthaha previously approved these changes Apr 7, 2025
This commit moves logger to internal package.

Follow up to sustainable-computing-io#1977

Signed-off-by: vprashar2929 <[email protected]>
@sthaha sthaha merged commit 9763ce7 into sustainable-computing-io:reboot Apr 7, 2025
7 of 8 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