@lsk4/log
Version:
Yet another logger whitch combines the best features of debug, bunyan, logfmt/logrus, morgan/winston
9 lines (6 loc) • 389 B
TypeScript
import { ILoggerInternalMessageFormat, ILoggerInternalMessage } from '../../types.js';
import '@lsk4/colors';
declare function detectFormat(json: any): ILoggerInternalMessageFormat | null;
declare function stringify(format: string, meta: Record<string, unknown>, ...args: any[]): any;
declare function parse(json: any): ILoggerInternalMessage;
export { detectFormat, parse, stringify };