start method

  1. @override
Future<void> start()
override

Implementation

@override
Future<void> start() async {
  if (!kCanTrace) {
    logger?.debug(this, 'Sentry Trace is not allowed to trace');
    return;
  }

  if (kInstance == null) {
    logger?.error(this, 'Sentry Trace is not initialized');
    return;
  }

  logger?.debug(this, 'Starting Sentry Trace with name:$name');

  logger?.debug(this, 'Sentry Trace:$name started');
}