LogShipper constructor

LogShipper({
  1. required void send(
    1. List<String> lines
    ),
  2. int maxLines = 50,
  3. Duration interval = const Duration(seconds: 2),
})

Creates a shipper that hands batches to send.

Implementation

LogShipper({
  required this.send,
  this.maxLines = 50,
  this.interval = const Duration(seconds: 2),
});