diagnostic-channel-publishers
Version:
A collection of pre-built module patches that enable existing npm modules to publish diagnostic data
20 lines (19 loc) • 486 B
TypeScript
import { IModulePatcher } from "diagnostic-channel";
export interface IMysqlData {
query: {
sql?: string;
_connection?: {
config?: {
socketPath?: string;
host?: string;
port?: number;
};
};
};
callbackArgs: IArguments;
err: Error;
duration: number;
time: Date;
}
export declare const mysql: IModulePatcher;
export declare function enable(): void;