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