shouldRollNextFile method
Return true if log file should rotate to new.
Implementation
@override
FutureOr<bool> shouldRollNextFile() {
final file = File(_currentFile());
if (file.existsSync()) {
return file.lengthSync() > maxDataSize.realSize;
} else {
return false;
}
}