import type { WriterConstructor, WriterWrite } from "./interface.js"; import Types from "./types.js"; /** * Writer class */ export default class Writer { private maxBytes?; private maxBackupCount?; private pathWriterMap; private [Types.INFO]; private [Types.WARN]; private [Types.ERROR]; /** * Writer constructor * @param param0 * @returns */ constructor({ maxBytes, maxBackupCount }: WriterConstructor); private newWriter; /** * Write message to file * @param param0 * @returns */ write({ path, msg, type }: WriterWrite): Promise; /** * Rotate log files * @param path */ rotateLogFiles(path: string): Promise; } //# sourceMappingURL=writer.d.ts.map