start method

Future<void> start(
  1. LogCollector collector
)

启动拦截器

Implementation

Future<void> start(LogCollector collector) async {
  if (_isStarted) {
    return;
  }
  _collector = collector;
  await onStart();
  _isStarted = true;
}