@lsk4/log
Version:
Yet another logger whitch combines the best features of debug, bunyan, logfmt/logrus, morgan/winston
11 lines (8 loc) • 406 B
TypeScript
import { ILoggerInternalMessage } from '../../types.js';
import '@lsk4/colors';
type BunyanLevel = 10 | 20 | 30 | 40 | 50 | 60;
declare const bunyanLevels: BunyanLevel[];
declare const isBunyan: (json: any) => boolean;
declare const parseBunyan: (json: any) => ILoggerInternalMessage;
declare const stringifyBunyan: (json: any) => string;
export { bunyanLevels, isBunyan, parseBunyan, stringifyBunyan };