Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/platform logger #33

Merged
merged 10 commits into from
Jul 29, 2024
Merged

Feature/platform logger #33

merged 10 commits into from
Jul 29, 2024

Conversation

tonelli-m
Copy link
Collaborator

Description

Adds platform specific logger implementations

Changes

Replace usage of Koin's Logger with a custom logger implementation that uses native logging systems internally:

  • android.util.Log for Android
  • OSLog for iOS
  • console.info/debug/warn/error for Web

Linked issues

#27

Remaining TODOs

We might want to add a threshold mechanism in the future to exclude debug logs from release builds

Checklist

  • Code compiles correctly on all platforms
  • All pre-existing tests are passing
  • If needed, new tests have been added
  • Extended the README / documentation if necessary
  • Added code has been documented

@tonelli-m tonelli-m added the KMP Shared Kotlin code label Jul 29, 2024
@nicolas-f nicolas-f merged commit 6b9bdd0 into main Jul 29, 2024
11 of 12 checks passed
@nicolas-f nicolas-f deleted the feature/platform-logger branch July 29, 2024 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
KMP Shared Kotlin code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants