DatadogLoggerConfiguration constructor

DatadogLoggerConfiguration({
  1. String? service,
  2. String? name,
  3. LogLevel remoteLogThreshold = LogLevel.debug,
  4. bool bundleWithRumEnabled = true,
  5. bool bundleWithTraceEnabled = true,
  6. bool networkInfoEnabled = true,
  7. double remoteSampleRate = 100,
  8. CustomConsoleLogFunction? customConsoleLogFunction = simpleConsolePrint,
})

Implementation

DatadogLoggerConfiguration({
  this.service,
  this.name,
  this.remoteLogThreshold = LogLevel.debug,
  this.bundleWithRumEnabled = true,
  this.bundleWithTraceEnabled = true,
  this.networkInfoEnabled = true,
  double remoteSampleRate = 100,
  this.customConsoleLogFunction = simpleConsolePrint,
}) {
  this.remoteSampleRate = remoteSampleRate;
}