How does `LocationAwareKLogger` actually grab the ...
# kotlin-logging
m
How does
LocationAwareKLogger
actually grab the class name from which the log call is made? I can’t seem to find the relevant code. For context of why I’m asking: https://kotlinlang.slack.com/archives/CTJB58X7X/p1703144409394349
o
using the java class name of the provided labda (doesn't work with inline methods). See the code here: https://github.com/oshai/kotlin-logging/blob/master/src/javaMain/kotlin/io/github/oshai/kotlinlogging/internal/KLoggerNameResolver.kt
m
Sorry, it was actually grabbing the source filename, not the class name. Which is what I wanted because then it’s a good tag for logging in top-level functions.