UNPKG

@lsk4/log

Version:

Yet another logger whitch combines the best features of debug, bunyan, logfmt/logrus, morgan/winston

14 lines (11 loc) 613 B
import { ILoggerInternalMessage } from '../../types.js'; import '@lsk4/colors'; declare const lsklogLevels: string[]; declare const lsklogWebLevels: string[]; declare const isLsklog: (json: any) => boolean; declare const isLskLikelog: (json: any) => boolean; declare const isLsklogWeb: (req: any) => boolean; declare const isLsklogWebFinal: (req: any) => boolean; declare const parseLsklog: (json: any) => ILoggerInternalMessage; declare const stringifyLsklog: (json: any) => string; export { isLskLikelog, isLsklog, isLsklogWeb, isLsklogWebFinal, lsklogLevels, lsklogWebLevels, parseLsklog, stringifyLsklog };