OtelLoggingConfig constructor

const OtelLoggingConfig({
  1. bool enabled = false,
  2. String? endpoint,
  3. String? apiKey,
  4. String serviceName = 'voo-flutter-app',
  5. String serviceVersion = '1.0.0',
  6. Map<String, dynamic>? additionalAttributes,
  7. int batchSize = 50,
  8. Duration batchInterval = const Duration(seconds: 30),
  9. int maxQueueSize = 1000,
  10. Duration timeout = const Duration(seconds: 10),
  11. int maxRetries = 3,
  12. Duration retryDelay = const Duration(seconds: 1),
  13. bool prioritizeErrors = true,
  14. Map<String, String>? headers,
  15. bool debug = false,
  16. String instrumentationScopeName = 'voo-logging',
  17. String instrumentationScopeVersion = '2.0.0',
})

Implementation

const OtelLoggingConfig({
  this.enabled = false,
  this.endpoint,
  this.apiKey,
  this.serviceName = 'voo-flutter-app',
  this.serviceVersion = '1.0.0',
  this.additionalAttributes,
  this.batchSize = 50,
  this.batchInterval = const Duration(seconds: 30),
  this.maxQueueSize = 1000,
  this.timeout = const Duration(seconds: 10),
  this.maxRetries = 3,
  this.retryDelay = const Duration(seconds: 1),
  this.prioritizeErrors = true,
  this.headers,
  this.debug = false,
  this.instrumentationScopeName = 'voo-logging',
  this.instrumentationScopeVersion = '2.0.0',
});