effect
effect copied to clipboard
JsonLogger serializes errors
Type
- [ ] Refactor
- [ ] Feature
- [x] Bug Fix
- [x] Optimization
- [ ] Documentation Update
Description
Added and updated tests in Logger.test.ts to verify that logging an Error object with Logger.jsonLogger produces the expected output, including the error's name and message. This fixes
Related
- Related Issue #4685 (the changes in this PR could be the first iteration to address this issue)
- Related Issue #
- Closes #
🦋 Changeset detected
Latest commit: 1b0be0f78b975579fad458f2ea6f2e04cdddbcd5
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 32 packages
| Name | Type |
|---|---|
| effect | Patch |
| @effect/cli | Patch |
| @effect/cluster | Patch |
| @effect/experimental | Patch |
| @effect/opentelemetry | Patch |
| @effect/platform-browser | Patch |
| @effect/platform-bun | Patch |
| @effect/platform-node-shared | Patch |
| @effect/platform-node | Patch |
| @effect/platform | Patch |
| @effect/printer-ansi | Patch |
| @effect/printer | Patch |
| @effect/rpc | Patch |
| @effect/sql-clickhouse | Patch |
| @effect/sql-d1 | Patch |
| @effect/sql-drizzle | Patch |
| @effect/sql-kysely | Patch |
| @effect/sql-libsql | Patch |
| @effect/sql-mssql | Patch |
| @effect/sql-mysql2 | Patch |
| @effect/sql-pg | Patch |
| @effect/sql-sqlite-bun | Patch |
| @effect/sql-sqlite-do | Patch |
| @effect/sql-sqlite-node | Patch |
| @effect/sql-sqlite-react-native | Patch |
| @effect/sql-sqlite-wasm | Patch |
| @effect/sql | Patch |
| @effect/typeclass | Patch |
| @effect/vitest | Patch |
| @effect/ai | Patch |
| @effect/ai-anthropic | Patch |
| @effect/ai-openai | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR