-
Notifications
You must be signed in to change notification settings - Fork 0
docs(logging): add README, CHANGELOG, and TSDoc comments #36
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
Merged
+619
−35
Conversation
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
Contributor
Author
This was referenced Jan 23, 2026
This was referenced Jan 23, 2026
This was referenced Jan 23, 2026
3b27772 to
c6894cd
Compare
1c1023e to
917c94b
Compare
This was referenced Jan 23, 2026
Greptile Summary
|
| Filename | Overview |
|---|---|
| packages/logging/README.md | New comprehensive user documentation with installation guide, API examples, and complete feature coverage; potential API inconsistencies need verification |
| packages/logging/src/index.ts | Enhanced all exports with detailed TSDoc comments including parameter descriptions, return types, and usage examples |
Confidence score: 3/5
- This PR contains mostly documentation changes with minimal risk to production functionality
- Score reflects potential API inconsistencies between documentation and actual implementation that need verification
- Pay close attention to
packages/logging/README.mdto ensure documented API matches the actual exported interface
Sequence Diagram
sequenceDiagram
participant User
participant Logger
participant RedactionEngine
participant Formatter
participant Sink
User->>Logger: "createLogger(config)"
Logger->>Logger: "initialize internal state"
User->>Logger: "logger.info(message, metadata)"
Logger->>Logger: "shouldLog(level, minLevel)"
Logger->>RedactionEngine: "processMetadata(metadata, redactionConfig)"
RedactionEngine->>RedactionEngine: "redactValue(value, keys, patterns)"
RedactionEngine-->>Logger: "processed metadata"
Logger->>Logger: "create LogRecord"
loop for each sink
Logger->>Formatter: "format(record)"
Formatter-->>Logger: "formatted string"
Logger->>Sink: "write(record, formatted)"
Sink->>Sink: "output to destination"
end
917c94b to
3149937
Compare
c6894cd to
6787845
Compare
Contributor
Author
|
Checked for new feedback; no changes needed. Stack still up to date. |
This was referenced Jan 24, 2026
Contributor
Author
3149937 to
3923aef
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Summary
Adds comprehensive documentation to
@outfitter/loggingpackage:@param,@returns, and@exampleHighlights
Test plan
bun run typecheckpassesbun run buildsucceeds🤖 Generated with Claude Code