@zlattice/lattice-js
Version:
Lattice blockchain TypeScript SDK with dual module support (CJS + ESM)
13 lines • 642 B
TypeScript
import pino, { Logger, LoggerOptions } from 'pino';
export declare function configureLogger(options?: LoggerOptions | pino.DestinationStream): Logger;
export declare function getLogger(): Logger;
export declare const log: {
trace: (msg: string, ...args: any[]) => void;
debug: (msg: string, ...args: any[]) => void;
info: (msg: string, ...args: any[]) => void;
warn: (msg: string, ...args: any[]) => void;
error: (msg: string, ...args: any[]) => void;
fatal: (msg: string, ...args: any[]) => void;
};
export declare function createChildLogger(context: Record<string, any>): Logger;
//# sourceMappingURL=logger.d.ts.map