UNPKG

@globalworldwide/grpc-resolvers

Version:
16 lines 530 B
type TraceFunction = (text: string, md?: unknown) => void; interface IError extends Error { code?: string; } type ErrorFunction = (e: IError, text?: string) => void; declare class Logger { #private; constructor(tracer: string); get debug(): TraceFunction | undefined; get info(): TraceFunction | undefined; get error(): TraceFunction | undefined; get errorError(): ErrorFunction | undefined; } export declare function makeLogger(tracer: string): Logger; export {}; //# sourceMappingURL=logging.d.ts.map