Skip to content

Add custom logging framework support - #3

Merged
Kiolk merged 2 commits into
mainfrom
feature/custom-logging-framework
Apr 7, 2026
Merged

Add custom logging framework support#3
Kiolk merged 2 commits into
mainfrom
feature/custom-logging-framework

Conversation

@Kiolk

@Kiolk Kiolk commented Apr 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a new Custom logging framework option that lets users define their own log templates with {tag} and {message} placeholders for both Kotlin and Java
  • Add UI fields in the tool window for custom Kotlin/Java templates and an optional import path, with live preview
  • Fix addJavaImport fallback for classes not resolvable via PSI (needed for custom framework imports)
  • Add 15 tests covering custom log insertion, removal, idempotency, and scope function preservation

Test plan

  • All 38 tests pass (15 new custom + 23 existing)
  • Manually verify custom template fields show/hide when selecting Custom framework
  • Verify log insertion with a custom template in a real project

🤖 Generated with Claude Code

Kiolk and others added 2 commits April 7, 2026 23:50
Allow users to define their own logging templates with {tag} and {message}
placeholders for both Kotlin and Java, with an optional import path.
Also fix Java import fallback for unresolvable classes.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Kiolk
Kiolk merged commit 4cea9d9 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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant