LogConfiguration constructor

LogConfiguration({
  1. LogLevel? logLevel,
  2. String? path,
  3. int? maxFileCount,
  4. int? maxFileSize,
  5. bool? newLogOnStart,
})

Constructor

Implementation

LogConfiguration({this.logLevel, this.path, this.maxFileCount, this.maxFileSize, this.newLogOnStart}) {
  maxFileCount = maxFileCount ?? 5;
  maxFileSize = maxFileSize ?? 1048576;
  newLogOnStart = newLogOnStart ?? true;
}