UNPKG

@eggjs/logrotator

Version:
9 lines (8 loc) 365 B
import { LogRotator, type RotateFile, type RotatorOptions } from './rotator.js'; export declare class DayRotator extends LogRotator { private filesRotateBySize; private filesRotateByHour; constructor(options: RotatorOptions); getRotateFiles(): Promise<Map<string, RotateFile>>; _setFile(srcPath: string, files: Map<string, RotateFile>): void; }