-
-
Notifications
You must be signed in to change notification settings - Fork 34.3k
[WIP] lib: added logger api in node core #60468
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
Open
mertcanaltin
wants to merge
26
commits into
nodejs:main
Choose a base branch
from
mertcanaltin:mert/create-logger-api/node-core
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,402
−13
Open
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
429359b
lib: added logger api in node core
mertcanaltin 6d56e36
fix: validate log level in LogConsumer.enabled method
mertcanaltin 79faca4
fix: improve error serialization check in serializeErr function
mertcanaltin 1a76b7f
fix: update error serialization check and improve log level validation
mertcanaltin 61461e4
fix: replace ErrorIsError with isNativeError for better error seriali…
mertcanaltin c669174
fix: remove unused Error import in logger.js
mertcanaltin 3ec6c9f
fix: update logger module imports to use 'node:logger' for consistency
mertcanaltin 58cca8b
fix: remove unused spawnSyncAndAssert import in test-require-module-t…
mertcanaltin c5cb707
fix: add missing commas in spawnSync options for consistency
mertcanaltin 5dc2b2d
fix: update consumer end method to use callback for asynchronous log …
mertcanaltin a9e288f
fix: remove log file empty assertion message for clarity
mertcanaltin 8f88a71
fix: refactor test assertions to use common.mustSucceed for consistency
mertcanaltin 83a12b7
docs: add LogConsumer class and enabled method documentation
mertcanaltin 22ed15d
Update lib/internal/logger/serializers.js
mertcanaltin c38b9b1
Update lib/internal/logger/serializers.js
mertcanaltin 8a300fe
Update lib/internal/logger/serializers.js
mertcanaltin 68c520b
Update lib/logger.js
mertcanaltin 1f5b449
Update lib/logger.js
mertcanaltin e0ae4d6
Update lib/logger.js
mertcanaltin 8f4c641
Enhance JSDoc comments for serializers and logger methods
mertcanaltin 09f0ef2
Refactor JSDoc for HTTP request serializer and remove unused error code
mertcanaltin b23e669
add benchmark utility for isNativeError function
mertcanaltin 76b0742
Remove bytes submodule from commit
mertcanaltin da165bf
Remove isNativeError benchmark utility
mertcanaltin 6cf3d03
enhance logger and serializers: improve error serialization and refac…
mertcanaltin b856491
add logger types to custom types map
mertcanaltin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.