-
Notifications
You must be signed in to change notification settings - Fork 196
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
chore(logger): move logger to internal #1979
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
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. 🚀 New features to boost your workflow:
|
c95e74a
to
78c7e7f
Compare
pre-commit failure is addressed in #1980 |
internal/logger/logger.go
Outdated
@@ -24,7 +24,7 @@ import ( | |||
"strings" | |||
) | |||
|
|||
func setupLogger(level, format string) *slog.Logger { | |||
func SetupLogger(level, format string) *slog.Logger { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
func SetupLogger(level, format string) *slog.Logger { | |
func New(level, format string) *slog.Logger { |
78c7e7f
to
5e892e5
Compare
This commit moves logger to internal package. Follow up to sustainable-computing-io#1977 Signed-off-by: vprashar2929 <[email protected]>
5e892e5
to
578992d
Compare
This commit moves logger to internal package.
Follow up to #1977