if-logger
Version:
`if-logger` can set whether to log or not dynamically
5 lines (4 loc) • 338 B
TypeScript
import { ILoggerRequired } from './types';
export declare function buildPrintLog(level: string, prop: string): (this: ILoggerRequired, ...args: any[]) => any;
export declare function isGo(options: any, level: string): any;
export declare function multiArgsHandler(format: any, level: string, tags: any[] | undefined, args: any[]): any[];