DatumLogger constructor

DatumLogger({
  1. bool enabled = true,
  2. bool colors = true,
  3. LogLevel minimumLevel = LogLevel.info,
  4. Map<String, LogSampler> samplers = const {},
  5. bool enablePerformanceLogging = false,
  6. Duration performanceThreshold = const Duration(milliseconds: 100),
})

Implementation

DatumLogger({
  this.enabled = true,
  this.colors = true,
  this.minimumLevel = LogLevel.info,
  this.samplers = const {},
  this.enablePerformanceLogging = false,
  this.performanceThreshold = const Duration(milliseconds: 100),
});