Kotlin compiler plugin to emit method execution metadata in logging
Go to file
Harsh Shandilya bea7990783
chore: release v0.1.3
2023-09-01 01:02:06 +05:30
.github fix(ci): fix release config 2023-08-31 22:14:47 +05:30
.idea refactor(build): realign to Kotlin 1.9.0 2023-08-30 19:22:44 +05:30
artifact-info-template feat: refactor build and flesh out Gradle plugin 2023-08-30 19:25:03 +05:30
build-logic fix(build): restore snapshot publishing 2023-08-31 21:18:08 +05:30
compiler-plugin fix(release): add missing POM metadata 2023-08-31 23:16:20 +05:30
gradle feat: refactor build and flesh out Gradle plugin 2023-08-30 19:25:03 +05:30
gradle-plugin fix(gradle-plugin): source `runtime` dependency from `ArtifactInfo` 2023-09-01 01:01:51 +05:30
runtime fix(release): add missing POM metadata 2023-08-31 23:16:20 +05:30
sample-jvm feat: refactor build and flesh out Gradle plugin 2023-08-30 19:25:03 +05:30
sample-kmp feat: refactor build and flesh out Gradle plugin 2023-08-30 19:25:03 +05:30
.editorconfig Initial commit 2023-08-18 04:13:01 +05:30
.git-blame-ignore-revs chore: set up blame ignore-revs file 2023-08-19 02:04:29 +05:30
.gitignore feat: refactor build and flesh out Gradle plugin 2023-08-30 19:25:03 +05:30
LICENSE chore(build): add basic publishing info 2023-08-29 10:55:10 +05:30
README.md chore: flesh out README 2023-08-18 06:33:43 +05:30
build.gradle.kts feat: refactor build and flesh out Gradle plugin 2023-08-30 19:25:03 +05:30
gradle.properties chore: release v0.1.3 2023-09-01 01:02:06 +05:30
gradlew Initial commit 2023-08-18 04:13:01 +05:30
gradlew.bat Initial commit 2023-08-18 04:13:01 +05:30
settings.gradle.kts feat: refactor build and flesh out Gradle plugin 2023-08-30 19:25:03 +05:30

README.md

TraceLog

PoC Kotlin compiler plugin to emit OpenTelemetry-compatible logging metadata from Kotlin projects.

Currently, this prints out a basic textual representation of the method's inputs and execution time. That is, given this code:

@DebugLog
fun debuggableFunction(p0: String): String {
  return "Debugging is cool!"
}

The compiler plugin will generate code that writes the following messages

⇢ debuggableFunction(p0=First parameter)
⇠ debuggableFunction [214.209us] = Debugging is cool!