Const stream
stream: RotatingFileStream = dirPath ? createStream(calculateFileName, {size: '100M', // rotate every 10 MegaBytes writteninterval: '1M', // rotate monthlypath: dirPath,immutable: true,// compress: "gzip" // compress rotated files}) : null