Join Slack
Powered by
Why are log functions not inline btw? If they were...
# kotlin-logging
n
Nikky
11/01/2020, 12:33 PM
Why are log functions not inline btw? If they were i would not need weird workarounds for suspending functions..
o
oshai
11/01/2020, 9:16 PM
Inline functions don't play well with inheritance. But the main issue is line numbers. See
https://github.com/MicroUtils/kotlin-logging/issues/34
n
Nikky
11/02/2020, 2:24 PM
it seems like i may need to make a local build experimenting around with making them inline functions and seeing how well it works for my usecase
Nikky
11/02/2020, 2:25 PM
its probably going to be a bit of a mess with
expect
,
actual
getting in the way
7
Views
Open in Slack
Previous
Next