ovhemert / pino-datadog

đŸŒČA transport for pino that sends messages to DataDog
MIT License
36 stars 24 forks source link

TypeScript support #62

Closed haroldadmin closed 3 years ago

haroldadmin commented 3 years ago

🚀 Feature Proposal

Please add TypeScript types to this project. It is written in JavaScript and does not bundle type definitions. If that's not possible, please consider adding types to @types/pino-datadog.

Motivation

I'm working on a project in TypeScript and would like to use this library to stream logs to Datadog.

Example

While I could not find other pino loggers for Datadog, there are a few examples available for Winston that might serve as a starting point:

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

czystyl commented 3 years ago

cc @haroldadmin the types are already merged so soon you'll be able to use types in your project!

reference: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/55649