Skip to content

Add Android Log statement support - #4

Merged
Kiolk merged 3 commits into
mainfrom
feature/android-log-support
Apr 7, 2026
Merged

Add Android Log statement support#4
Kiolk merged 3 commits into
mainfrom
feature/android-log-support

Conversation

@Kiolk

@Kiolk Kiolk commented Apr 7, 2026

Copy link
Copy Markdown
Owner

Closes #2

Summary

  • Add Android Log as a built-in logging framework option using Log.d(tag, message) from android.util.Log
  • Add AndroidLogStrategy with proper import handling for both Kotlin and Java
  • Add 8 tests covering insertion, removal, import management, idempotency, and scope function preservation
  • Bump version to 1.1.0 and update all documentation (CHANGELOG, README, MARKETPLACE, plugin.xml)

Test plan

  • All 46 tests pass (31 existing + 15 custom)
  • ktlint check passes
  • Manually verify Android Log appears in framework dropdown

🤖 Generated with Claude Code

Kiolk and others added 2 commits April 8, 2026 00:02
Add android.util.Log as a built-in logging framework option with
Log.d(tag, message) format for both Kotlin and Java.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add Android Log and Custom framework to all docs: CHANGELOG,
README, MARKETPLACE, and plugin.xml.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Kiolk
Kiolk force-pushed the feature/android-log-support branch from aaa10c7 to a544d8b Compare April 7, 2026 22:08
@Kiolk Kiolk self-assigned this Apr 7, 2026
@Kiolk Kiolk added the enhancement New feature or request label Apr 7, 2026
Use word-boundary regex instead of simple string contains when
checking if an import is still used. Fixes android.util.Log import
not being removed when words like "Logger" or "logging" appear in
the file.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Kiolk
Kiolk merged commit 18f3c59 into main Apr 7, 2026
1 check passed
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.

Feature: Add support for Android log statements

1 participant