HttpLogStrategy constructor

HttpLogStrategy({
  1. int batchSize = 100,
  2. Duration batchTimeout = const Duration(seconds: 5),
  3. int maxRetries = 3,
  4. Duration retryDelay = const Duration(seconds: 1),
  5. bool useIsolate = true,
  6. LogLevel logLevel = LogLevel.none,
  7. List<LogEvent>? supportedEvents,
})

Creates an HttpLogStrategy with the given configuration.

Implementation

HttpLogStrategy({
  this.batchSize = 100,
  this.batchTimeout = const Duration(seconds: 5),
  this.maxRetries = 3,
  this.retryDelay = const Duration(seconds: 1),
  super.useIsolate = true,
  super.logLevel = LogLevel.none,
  super.supportedEvents,
}) {
  _startBatchTimer();
}