SizeRollingFileTree constructor
SizeRollingFileTree(})
Creates instance of SizeRollingFileTree, which based on defined maxDataSize size of current log file will create new log file.
Implementation
SizeRollingFileTree(
this.maxDataSize, {
String logFormat = CustomFormatTree.defaultFormat,
this.filenamePrefix = 'log_',
this.filenamePostfix = '.txt',
List<String> logLevels = CustomFormatTree.defaultLevels,
}) : super(logFormat: logFormat, logLevels: logLevels) {
detectFileIndex();
}