-
Notifications
You must be signed in to change notification settings - Fork 4
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
[DSDK-194][FEAT][CORE] Add Logger service #22
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
"!src/**/*.stub.ts", | ||
"!src/index.ts", |
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 don't think we particularly want to test those files, but it could be interesting to test that the imports are correctly defined ?
99a8dda
to
b4e5f22
Compare
12ddd6a
to
9c5c7af
Compare
9c5c7af
to
c2b475d
Compare
c2b475d
to
6326297
Compare
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.
error spreading
8e629cf
to
f039eb4
Compare
f039eb4
to
384f70d
Compare
packages/core/src/internal/logger/service/DefaultLoggerService.ts
Outdated
Show resolved
Hide resolved
cf6839b
to
43a4745
Compare
de83371
to
e7f5db8
Compare
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.
nice, lgtm 👍
📝 Description
This PR brings a basic Logger Service as well as a default implementation of a LoggerSubscriber
The Logger service will be used to display some informations based on a LogLevel.
LoggerSubscribers are passed to the Logger, and can interact with the incoming log object to change it's behavior
Log object contains more than just a message (context for example, could be use to differentiate "transport" message from "error" messages, or even "analytics" etc...)
Also in this PR, a few more tests around the existing, so we get closer to a ready for CI state whenever we want to turn on tests.
❓ Context
✅ Checklist
Pull Requests must pass the CI and be code reviewed. Set as Draft if the PR is not ready.
🧐 Checklist for the PR Reviewers