@lsk4/log
Version:
Yet another logger whitch combines the best features of debug, bunyan, logfmt/logrus, morgan/winston
17 lines (14 loc) • 389 B
TypeScript
import { ILogger } from './types.js';
import '@lsk4/colors';
interface LazyLogFunction {
(ns?: string): ILogger;
loggers: Record<string, ILogger>;
trace: ILogger['trace'];
debug: ILogger['debug'];
info: ILogger['info'];
warn: ILogger['warn'];
error: ILogger['error'];
fatal: ILogger['fatal'];
}
declare const lazyLog: LazyLogFunction;
export { lazyLog };