Skip to content

feat(logging): Replace Timber with Kermit for multiplatform logging#4083

Merged
jamesarich merged 1 commit into
mainfrom
feat/kermit
Dec 28, 2025
Merged

feat(logging): Replace Timber with Kermit for multiplatform logging#4083
jamesarich merged 1 commit into
mainfrom
feat/kermit

Conversation

@jamesarich

Copy link
Copy Markdown
Collaborator

This replaces the Timber logging library with Kermit across the entire Android application. Kermit is a multiplatform logging utility that will facilitate sharing logging code in the future.

Key changes:

  • Replaced all Timber calls with co.touchlab.kermit.Logger.
  • Updated build.gradle.kts files to replace the Timber dependency with Kermit.
  • Configured Kermit in GooglePlatformAnalytics to use DatadogLogWriter, CrashlyticsLogWriter, and LogcatWriter based on the build type.
  • Removed a significant number of detekt baseline suppressions related to old code style that was refactored during the replacement.
  • Updated detekt-baseline.xml files across various modules to reflect the changes.

This commit replaces the Timber logging library with Kermit across the entire Android application. Kermit is a multiplatform logging utility that will facilitate sharing logging code in the future.

Key changes:
- Replaced all `Timber` calls with `co.touchlab.kermit.Logger`.
- Updated `build.gradle.kts` files to replace the Timber dependency with Kermit.
- Configured Kermit in `GooglePlatformAnalytics` to use `DatadogLogWriter`, `CrashlyticsLogWriter`, and `LogcatWriter` based on the build type.
- Removed a significant number of detekt baseline suppressions related to old code style that was refactored during the replacement.
- Updated `detekt-baseline.xml` files across various modules to reflect the changes.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@github-actions github-actions Bot added the enhancement New feature or request label Dec 28, 2025
@jamesarich jamesarich added this pull request to the merge queue Dec 28, 2025
@codecov

codecov Bot commented Dec 28, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (a927481) to head (087ec12).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@          Coverage Diff          @@
##            main   #4083   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files          2       2           
  Lines         19      19           
  Branches       7       7           
=====================================
  Misses        19      19           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Merged via the queue into main with commit 0776e02 Dec 28, 2025
8 checks passed
@jamesarich jamesarich deleted the feat/kermit branch December 28, 2025 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant