winston-application-insights-transport
v0.0.1
Published
Application insights transport for winston
Downloads
503
Maintainers
Readme
winston-application-insights-transport
Application insights transport for winston >= 3.x
Usage
import { ApplicationInsightsTransport } from 'winston-application-insights-transport';
// {...}
const logger = winston.createLogger({
transports: [
new ApplicationInsightsTransport({
key: "__INSTRUMENTATION_KEY__",
}),
]
});