Getting Line numbers from Android Studio Editor

We are developing Android apps using Android studio and writing all our code using the Kotlin Language.

I am using debug lines in my code like this

Log.d(Constants.BTH1, “cmd Empty - 132”)

Where the TAG is a description picked from the Constants Class.
The Tag has a number that I would like to be the Android studio editor line number.
Obviously each time I change the code the line numbers change, so at the moment the line number only gives me a rough idea where that line of code is.

We did try
var m_LineNumber = System.out.print(
This sort of works?
Does anyone know a way of picking the line number up from the editor and putting it into the code?
Maybe we could use the Bookmarks?
Thanks for reading