Skip to content

Conversation

@KevinSchildhorn
Copy link
Contributor

@KevinSchildhorn KevinSchildhorn commented Oct 30, 2025

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-ktor module, provides documentation, and updates the project configuration to support this extension.

Ktor Integration Feature:

  • Added new kermit-ktor module, including multiplatform source sets and dependencies, enabling Kermit to be used as a logger in Ktor clients.
  • Implemented KermitKtorLogger class, which adapts Kermit's logging API to Ktor's Logger interface, supporting configurable severity and logger instances.
  • Documentation Updates
  • Adding new feature to android sample

@KevinSchildhorn KevinSchildhorn marked this pull request as ready for review October 30, 2025 19:54
Copy link

Copilot AI left a 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-ktor extension module with KermitKtorLogger class
  • 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.

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.

3 participants