winston-datadog-formatter
Formatting Winston logging for DataDog processing and storage
Installation
npm install --save winston-datadog-udp-transport
Example
The following example configures the Winston logger to use the DataDog formatter, and UDP transport to ship logs to DataDog via a local installation of the DataDog agent with UDP enabled. For more information on using UDP log shipping with the DataDog agent see winston-datadog-udp-transport
const winston = ;const DatadogTransport = ;const datadogFormatter = ; const logger = winston;