feat: stack trace shortening #16

Merged
christian.keller merged 4 commits from feat/short-traces into main 2026-09-01 14:26:22 +00:00
No description provided.
feat: stack trace shortening
All checks were successful
/ release (pull_request) Successful in 1m59s
dab07ef792
feat: stack trace shortening; optimized decision making
All checks were successful
/ release (pull_request) Successful in 2m6s
1ae6018fc6
@ -0,0 +236,4 @@
return false
val rest = when {
frameId.length == key.length -> ""
frameId[key.length] == '.' -> frameId.substring(key.length + 1)
Member

Have you considered not filtering out nested classes and lambdas here?
The matcher accepts . after the key, while the compiler may continue class names with $. So an include key like de.loosetie.shop.OrderService keeps OrderService.place, but OrderService$place$1.invoke and OrderService$Companion.validate may end up in the gap. This affects lambdas and things like detached callbacks with coroutines.

Suggestion: also accept $ as boundary.

Have you considered not filtering out nested classes and lambdas here? The matcher accepts . after the key, while the compiler may continue class names with $. So an include key like de.loosetie.shop.OrderService keeps OrderService.place, but OrderService$place$1.invoke and OrderService$Companion.validate may end up in the gap. This affects lambdas and things like detached callbacks with coroutines. Suggestion: also accept $ as boundary.
christian.keller marked this conversation as resolved
feat: stack trace shortening; removed breaking change
All checks were successful
/ release (pull_request) Successful in 1m55s
6c5dac4cbf
feat: stack trace shortening; accept $ as boundary
All checks were successful
/ release (pull_request) Successful in 2m0s
6543c8a215
christian.keller deleted branch feat/short-traces 2026-09-01 14:26:22 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
DenktMit-OSS/lt-logging!16
No description provided.