LogFileNameFormatter.hourly constructor
Factory method to create hourly filename formatter with prefix and postifx.
Implementation
factory LogFileNameFormatter.hourly({
String prefix = "log_",
String postfix = ".txt",
}) {
return LogFileNameFormatter(
filenameFormat: "$prefix${_dayFormat}_$_dayToken$postfix",
);
}