diagnostic-channel-publishers
Version:
A collection of pre-built module patches that enable existing npm modules to publish diagnostic data
20 lines (19 loc) • 529 B
TypeScript
import { IModulePatcher } from "diagnostic-channel";
export interface IMongoData {
startedData: {
databaseName?: string;
command?: any;
time: Date;
};
event: {
commandName?: string;
duration?: number;
failure?: string;
reply?: any;
};
succeeded: boolean;
}
export declare const mongo2: IModulePatcher;
export declare const mongo3: IModulePatcher;
export declare const mongo330: IModulePatcher;
export declare function enable(): void;