LogFile constructor
LogFile(})
Implementation
LogFile(this.location,
{required bool enable,
String? singleFileSizeLimit,
int? singleFileHourLimit}) {
if (singleFileSizeLimit != null) {
final size = BinarySize.parse(singleFileSizeLimit);
if (size != null) {
this.singleFileSizeLimit = size;
}
}
if (singleFileHourLimit != null) {
_hours = singleFileHourLimit;
}
getFileId();
this.enable = enable;
}