-
Notifications
You must be signed in to change notification settings - Fork 845
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
Transport Writeable Stream sending log data #1118
Comments
I would recommend to create a new package. I would recommend to not use a Writable but rather use async iterators, https://github.com/pinojs/pino-abstract-transport, and https://github.com/mcollina/hwp. |
Thank you, will give it a crack this week. Would be great to point to these to libraries in the docs in the transport section. |
I've tagged this as a good first issue for documentation. |
Addressed in #1174 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi Everyone
Brand new to pino and been creating a transport to send data to Cloudwatch-logs. Doing this as the old package has not been updated for a while and is now legacy.
The code works fine, I guess I am asking if what I am doing is correct. I have created a transport that inside its writeable stream formats the data for Cloudwatch and then sends it on its way. Is there a better way?
Here is the code. createClient() just returns the AWS connection.
The text was updated successfully, but these errors were encountered: