Skip to content

log pending events instead of just count#120

Merged
rlepinski merged 2 commits intomainfrom
Update-logs
Feb 20, 2026
Merged

log pending events instead of just count#120
rlepinski merged 2 commits intomainfrom
Update-logs

Conversation

@khmMouna
Copy link
Copy Markdown
Contributor

No description provided.

@khmMouna khmMouna requested a review from a team as a code owner February 18, 2026 16:27
AirshipLogger.trace("takePendingEvents type=\(type), taken=\(result.count), remainingPending=\(pendingEvents.count)")
let takenDescriptions = result.map { "\($0.type): \(String(describing: $0))" }
let remainingDescriptions = pendingEvents.map { "\($0.type): \(String(describing: $0))" }
AirshipLogger.trace("takePendingEvents type=\(type), taken=\(result.count) [\(takenDescriptions.joined(separator: ", "))], remainingPending=\(pendingEvents.count) [\(remainingDescriptions.joined(separator: ", "))]")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we just do remaining: \(pending) or use the closure so we only make those maps if we log?

@rlepinski rlepinski merged commit 8d79a2d into main Feb 20, 2026
3 checks passed
@rlepinski rlepinski deleted the Update-logs branch February 20, 2026 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants