import winston from 'winston'; declare function geLogPathByTime(date: Date): string; export declare function createLogger(catgory: string, print?: boolean): winston.Logger; declare const logger: { log(...args: any[]): void; info(message: any, options?: object | undefined): void; error(message: any, options?: object | undefined): void; warn(message: any, options?: object | undefined): void; /** * 在控制台输出日志,用虚线包起来,更明显 * @example * dashedLog('www.taobao.com') * dashedLog(['www.taobao.com', '']) */ dashedLog(list: string[], options?: any): void; orderListLog(list: string[]): void; geLogPathByTime: typeof geLogPathByTime; }; export default logger;