LogConfig.defaultConfig constructor

const LogConfig.defaultConfig({
  1. int? methodCount = isWeb ? null : 2,
  2. int? lineLength = isWeb ? null : 120,
  3. bool? printTitle = !isWeb,
  4. bool? autoWrap = true,
  5. List<String>? excludePaths = const ['package:element_dart/src/log/'],
})

默认日志配置对象

Implementation

const LogConfig.defaultConfig({
  this.methodCount = isWeb ? null : 2,
  this.lineLength = isWeb ? null : 120,
  this.printTitle = !isWeb,
  this.autoWrap = true,
  this.excludePaths = const ['package:element_dart/src/log/'],
}) : color = null;