Files
familyARK/familyark/app/node_modules/rotating-file-stream/index.d.ts
T
2020-03-31 01:53:06 +02:00

22 lines
489 B
TypeScript

import { WriteStream } from "fs";
export interface RfsOptions {
compress?: string | Function | boolean;
highWaterMark?: number;
history?: string;
immutable?: boolean;
initialRotation?: boolean;
interval?: string;
maxFiles?: number;
maxSize?: string;
mode?: number;
path?: string;
rotate?: number;
rotationTime?: boolean;
size?: string;
}
declare function RotatingFileStream(fileName: string | Function, options: RfsOptions): WriteStream;
export default RotatingFileStream;