@lsk4/log
Version:
Yet another logger whitch combines the best features of debug, bunyan, logfmt/logrus, morgan/winston
11 lines (8 loc) • 447 B
TypeScript
import { ILoggerInternalMessage } from '../../types.js';
import '@lsk4/colors';
type LogrusLevel = 'trace' | 'debug' | 'info' | 'warning' | 'error' | 'fatal' | 'panic';
declare const logrusLevels: LogrusLevel[];
declare const isLogrus: (json: any) => boolean;
declare const parseLogrus: (json: any) => ILoggerInternalMessage;
declare const stringifyLogrus: (json: any) => string;
export { isLogrus, logrusLevels, parseLogrus, stringifyLogrus };