FormidableLabs / FormidableLabs/pino-lambda
Doesn't work with buffered logging when multiple JSONs could be put into on chunk separated by newline
Open
bug
- Dominant language
- TypeScript
- Stars
- 135
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Code of Conduct
- [X] I agree to follow this project's Code of Conduct
### Code Sandbox link
_No response_
### Bug report
```markdown
I would suggest to convert the library to pino transport using https://github.com/pinojs/pino-abstract-transport. Now it is very easy to crash a lambda after `JSON.parse` in the destination.ts is trying to parse a chunk containing smth like
{...}\n{...}
```
```
Contributor guide
Assessment
This issue has not been assessed yet.