-
Notifications
You must be signed in to change notification settings - Fork 46
Ktor Extension #458
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
base: main
Are you sure you want to change the base?
Ktor Extension #458
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds Ktor integration to the Kermit logging library, allowing users to integrate Kermit with Ktor's HTTP client logging. It also includes a typo fix in the Koin documentation.
- Adds a new
kermit-ktorextension module withKermitKtorLoggerclass - Includes documentation for the new Ktor integration
- Updates build configuration to include the new module
Reviewed Changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| extensions/kermit-ktor/src/commonMain/kotlin/co/touchlab/kermit/ktor/KermitKtorLogger.kt | Core implementation of Ktor logger adapter |
| extensions/kermit-ktor/build.gradle.kts | Build configuration for the new module |
| extensions/kermit-ktor/api/kermit-ktor.api | API definition file |
| extensions/kermit-ktor/README.md | Module README documentation |
| website/docs/extensions/KTOR.md | Web documentation for Ktor integration |
| website/docs/extensions/index.md | Added Ktor entry to extensions index |
| website/docs/extensions/KOIN.md | Fixed typo in "integration" |
| settings.gradle.kts | Registered new module in Gradle settings |
| gradle/libs.versions.toml | Added Ktor dependency version |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <[email protected]>
This reverts commit 9357b3d.
This pull request introduces a new Ktor integration for the Kermit logging library, allowing Kermit to be used as a logger within Ktor HTTP clients across multiple platforms. It adds a new
kermit-ktormodule, provides documentation, and updates the project configuration to support this extension.Ktor Integration Feature:
kermit-ktormodule, including multiplatform source sets and dependencies, enabling Kermit to be used as a logger in Ktor clients.KermitKtorLoggerclass, which adapts Kermit's logging API to Ktor'sLoggerinterface, supporting configurable severity and logger instances.