Creates a new instance of the file manager
Service name
Service setup options
Logger instance
Readonly
nameService name
Readonly
optionsService setup options
Flag to indicate if a rotation is scheduled
Readonly
statsFile stats
Appends data to the file store. This method uses the Limiter to ensure only one file operation is executed at a time (concurrency=1) and to retry the append operation if necessary
The data to append to the file.
A promise that resolves when the append operation is complete.
Add a listener for the error
event, emitted when there is an error in a file handler
operation.
error
event
Error event listener
Add a listener for the rotate
event, emitted when a file is rotated.
error
event
Error event listener
Add a listener for the resolve
event, emitted when an operation is resolved.
resolve
event
Resolve event listener
File handler class for managing file operations