Skip to content

feat(logging): Adopt swift-log with Sentry integration - #159

Merged
philprime merged 10 commits into
mainfrom
feat/swift-log
Sep 1, 2026
Merged

feat(logging): Adopt swift-log with Sentry integration#159
philprime merged 10 commits into
mainfrom
feat/swift-log

Conversation

@philprime

@philprime philprime commented Aug 12, 2026

Copy link
Copy Markdown
Member

Adopt apple/swift-log across Flinky and the Share Extension while forwarding logs through Sentry's SwiftLog integration. This preserves local console output, adds structured Sentry logs, and leaves existing captures, metrics, and breadcrumbs unchanged.

Implementation

  • Replace OSLog-backed type loggers with module-qualified Logger(for:) labels.
  • Bootstrap multiplexed console and Sentry handlers in each process and enable Sentry Logs.
  • Guard repeated Share Extension bootstrap attempts with a callable, main-actor-isolated Once utility.
  • Add SwiftLog dependencies and generated license entries for the relevant targets.
  • Keep sentry-cocoa and sentry-apple-swift-log Renovate updates grouped at the same version.
  • Disable verbose Sentry SDK debug output.

Verification

Validated the app, FlinkyCore, and Share Extension builds plus 15 app unit tests using the project Makefile targets.

@sentry

sentry Bot commented Aug 12, 2026

Copy link
Copy Markdown

📲 Install Builds

iOS

🔗 App Name App ID Version Configuration
Flinky com.techprimate.Flinky 1.1.7 (4) --

⚙️ flinky Build Distribution Settings

@philprime philprime changed the title feat: adopt swift-log with Sentry integration feat(logging): Adopt swift-log with Sentry integration Aug 31, 2026
@philprime
philprime marked this pull request as ready for review August 31, 2026 12:42
@philprime
philprime enabled auto-merge (squash) August 31, 2026 12:42
Comment thread Targets/ShareExtension/Sources/ShareViewController.swift
@philprime
philprime merged commit 68e1d86 into main Sep 1, 2026
7 checks passed
@philprime
philprime deleted the feat/swift-log branch September 1, 2026 10:07
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.

1 participant