OtelLoggingConfig constructor
const
OtelLoggingConfig({
- bool enabled = false,
- String? endpoint,
- String? apiKey,
- String serviceName = 'voo-flutter-app',
- String serviceVersion = '1.0.0',
- Map<
String, dynamic> ? additionalAttributes, - int batchSize = 50,
- Duration batchInterval = const Duration(seconds: 30),
- int maxQueueSize = 1000,
- Duration timeout = const Duration(seconds: 10),
- int maxRetries = 3,
- Duration retryDelay = const Duration(seconds: 1),
- bool prioritizeErrors = true,
- Map<
String, String> ? headers, - bool debug = false,
- String instrumentationScopeName = 'voo-logging',
- 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',
});