Right now I have this ` fun trace(tag: String, msg...
# android
w
Right now I have this
fun trace(tag: String, msg: String, vararg params: Any?)
as an API in my SDK so that if somebody wants to have their custom logger they can give one and show/send logs to crashlytics etc. For lazy string concatenation I use varargs so that API devs can use String.format etc when they really need that log statement. My question is how can i use nice $ interpolations within my sdk code but still get parameters out of that string without evaluating it?