pino-applicationinsights-transport
v1.0.3
Published
A pino v7+ transport for sending logs to Application Insights
Downloads
6
Maintainers
Readme
pino-applicationinsights-transport
A pino v7+ transport for sending logs to Application Insights.
It uses applicationinsights to send logs using the v2 node telemetry client.
Installation Instructions
npm install pino-applicationinsights-transport
import { LoggerOptions, pino } from "pino";
const logger = pino({
level: "trace",
transports: [
{
target: "pino-applicationinsights-transport",
options: {},
},
],
});