diff --git a/Sources/Sentry/SentryProfiler.mm b/Sources/Sentry/SentryProfiler.mm index 8660530fb6..a20a43e385 100644 --- a/Sources/Sentry/SentryProfiler.mm +++ b/Sources/Sentry/SentryProfiler.mm @@ -282,7 +282,8 @@ + (void)captureEnvelopeIfFinished:(SentryProfiler *)profiler spanID:(SentrySpanI [profiler captureEnvelope]; [profiler->_transactions removeAllObjects]; } else { - SENTRY_LOG_DEBUG(@"Profiler %@ is waiting for more spans to complete: %@.", profiler, profiler->_spansInFlight); + SENTRY_LOG_DEBUG(@"Profiler %@ is waiting for more spans to complete: %@.", profiler, + profiler->_spansInFlight); } } diff --git a/Sources/Sentry/SentryTracer.m b/Sources/Sentry/SentryTracer.m index 80971b7d80..18d6eb6454 100644 --- a/Sources/Sentry/SentryTracer.m +++ b/Sources/Sentry/SentryTracer.m @@ -246,7 +246,8 @@ - (void)cancelIdleTimeout context.spanDescription = description; SentrySpan *child = [[SentrySpan alloc] initWithTracer:self context:context]; - SENTRY_LOG_DEBUG(@"Started child span %@ under %@", child.context.spanId.sentrySpanIdString, parentId.sentrySpanIdString); + SENTRY_LOG_DEBUG(@"Started child span %@ under %@", child.context.spanId.sentrySpanIdString, + parentId.sentrySpanIdString); @synchronized(_children) { [_children addObject:child]; } @@ -259,7 +260,8 @@ - (void)spanFinished:(id)finishedSpan // Calling canBeFinished on the rootSpan would end up in an endless loop because canBeFinished // calls finish on the rootSpan. if (finishedSpan == self.rootSpan) { - SENTRY_LOG_DEBUG(@"Cannot call finish on root span with id %@", finishedSpan.context.spanId.sentrySpanIdString); + SENTRY_LOG_DEBUG(@"Cannot call finish on root span with id %@", + finishedSpan.context.spanId.sentrySpanIdString); return; } [self canBeFinished]; @@ -389,18 +391,22 @@ - (void)canBeFinished // Sending another transaction and spans with // the same SentryId would be an error. if (self.rootSpan.isFinished) { - SENTRY_LOG_DEBUG(@"Root span with id %@ is already finished", self.rootSpan.context.spanId.sentrySpanIdString); + SENTRY_LOG_DEBUG(@"Root span with id %@ is already finished", + self.rootSpan.context.spanId.sentrySpanIdString); return; } BOOL hasChildrenToWaitFor = [self hasChildrenToWaitFor]; if (!self.isWaitingForChildren) { - SENTRY_LOG_DEBUG(@"Root span with id %@ is not waiting for children to finish.", self.rootSpan.context.spanId.sentrySpanIdString); + SENTRY_LOG_DEBUG(@"Root span with id %@ is not waiting for children to finish.", + self.rootSpan.context.spanId.sentrySpanIdString); if (!hasChildrenToWaitFor && [self hasIdleTimeout]) { - SENTRY_LOG_DEBUG(@"Root span with id %@ is waiting for idle timeout, won't finish now.", self.rootSpan.context.spanId.sentrySpanIdString); + SENTRY_LOG_DEBUG(@"Root span with id %@ is waiting for idle timeout, won't finish now.", + self.rootSpan.context.spanId.sentrySpanIdString); [self dispatchIdleTimeout]; } - SENTRY_LOG_DEBUG(@"Root span with id %@ is waiting for idle timeout, won't finish now.", self.rootSpan.context.spanId.sentrySpanIdString); + SENTRY_LOG_DEBUG(@"Root span with id %@ is waiting for idle timeout, won't finish now.", + self.rootSpan.context.spanId.sentrySpanIdString); return; }