@senacor/azure-function-middleware
Version:
Middleware for azure functions to handle authentication, authorization, error handling and logging
12 lines (11 loc) • 397 B
TypeScript
import { TelemetryClient } from 'applicationinsights';
interface Logger {
log(...args: unknown[]): void;
trace(...args: unknown[]): void;
debug(...args: unknown[]): void;
info(...args: unknown[]): void;
warn(...args: unknown[]): void;
error(...args: unknown[]): void;
}
export declare const createAppInsightsLogger: (telemetryClient: TelemetryClient) => Logger;
export {};