-
Notifications
You must be signed in to change notification settings - Fork 171
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: replaced with dapr-kit logger #491
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: sadath-12 <[email protected]>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #491 +/- ##
==========================================
- Coverage 70.26% 70.08% -0.19%
==========================================
Files 35 35
Lines 2859 2841 -18
==========================================
- Hits 2009 1991 -18
Misses 738 738
Partials 112 112 ☔ View full report in Codecov by Sentry. |
Signed-off-by: sadath-12 <[email protected]>
Signed-off-by: sadath-12 <[email protected]>
Signed-off-by: sadath-12 <[email protected]>
Signed-off-by: sadath-12 <[email protected]>
Signed-off-by: sadath-12 <[email protected]>
Signed-off-by: sadath-12 <[email protected]>
Signed-off-by: sadath-12 <[email protected]>
Signed-off-by: sadath-12 <[email protected]>
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.
I would like to see the logger name kept, we shouldn't have unnecessary package name collisions especially with the standard library.
The service grpc and http documentation should use the standard library / be open to the user.
you mean to change the name of log to something else |
Signed-off-by: sadath-12 <[email protected]>
Signed-off-by: syedsadath-17 <[email protected]>
Signed-off-by: sadath-12 <[email protected]>
Yep, I just think it looks cleaner than using a naming convention that clashes with the standard library where it doesn't interface cleanly. |
@mikeee can we think in this way .. because of same name I was able to quickly migrate to new liberary . so maybe that's a plus point over using different names . just thinkering for this let me know if you agree or else ill change |
This is a breaking change whichever way it's looked at. Sure you may have some functions that cross-over but I believe there should be no shadowing of the log package (or anything else in the standard library) unless it retains the same interfaces. |
ok so shall we do like for example |
I'm not entirely sure about using The recent change made by @qustavo allows for a user-specified logger as part of the client created, perhaps this addresses the need to migrate entirely to |
From what I can see, the logging requirements for the sdk are minimal. We In general I'd wait until the need for a more elaborated logging strategy is needed. @sadath-12 is there a use case for using Line 68 in 7e5ee73
|
Description
Currently we use
log
package for logging whereas we have our own logger available atgithub.com/dapr/kit/logger
which we should make use itIssue reference
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: