Creates a new FilePrinter instance.
The path to the log file.
Optional
options: FilePrinterOptionsOptional settings for the file printer.
This method is a no-op for FilePrinter.
Closes the file printer, ensuring all pending log records are flushed and the file stream is properly closed.
Flushes any buffered log records to the file.
Prints a log record to the file.
The log record to print.
A logger printer that writes log records to a file, with support for log rotation based on file size or age.