UNPKG

node-huntglitch

Version:

A lightweight utility to send error logs to the HuntGlitch logging service.

11 lines (10 loc) 291 B
interface LogParams { error: Error; method: string; endPoint: string; requestIp: string; headers?: Record<string, string>; logType?: number; } export declare const Log: ({ error, method, endPoint, requestIp, headers, logType }: LogParams) => Promise<any>; export {};