import { m as LogMessage, n as LogHandlerOptions } from "./log-base-omQ8fkjE.cjs"; import { t as LogRotationOptions } from "./log-file-rotation-BpZxXYlU.cjs"; //#region src/node/log/log-file.d.ts interface LogFileHandlerOptions extends LogHandlerOptions { /** * Optional rotation options for log files. When provided, enables automatic log rotation. * Can be: * - `true`: Use default rotation settings (10MB size, 5 files, gzip compression) * - Rotation options object: Customize rotation behavior * - Shortcut strings: 'daily' | 'weekly' | 'monthly' | 'size' * * Examples: * - Enable with defaults: { rotation: true } * - Rotate daily: { rotation: { interval: '1d' } } * - Rotate when file reaches 10MB: { rotation: { size: '10M' } } * - Keep max 5 files: { rotation: { maxFiles: 5 } } * - Compress rotated files: { rotation: { compress: 'gzip' } } */ rotation?: LogRotationOptions; } declare function LoggerFileHandler(path: string, opt?: LogFileHandlerOptions): (msg: LogMessage) => void; //#endregion export { LoggerFileHandler as n, LogFileHandlerOptions as t }; //# sourceMappingURL=log-file-DwEDms1F.d.cts.map