Skip to content

feat: add child logger fields - #628

Open
Dazzanova wants to merge 3 commits into
voidzero-dev:mainfrom
Dazzanova:fix/logger-child-fields
Open

Dazzanova wants to merge 3 commits into
voidzero-dev:mainfrom
Dazzanova:fix/logger-child-fields

Conversation

@Dazzanova

Copy link
Copy Markdown

For issue #596

Summary

  • Add logger.child(fields) to bind structured fields to log entries.
  • Support nested child loggers and per-call field overrides.
  • Preserve safe serialization for reserved keys, functions, and throwing getters.
  • Add unit tests and document the new API.

Testing

  • Focused runtime logger tests: 20 passed.
  • Formatting and lint checks: passed after fixing the reported lint errors.
  • Full workspace checks: previously reported unrelated-looking playground configuration and type-resolution failures.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant