Ido Flax
12/15/2022, 7:12 PMCasey Brooks
12/15/2022, 7:24 PM@Suppress("UnusedReceiverParameter")
to make the warning go away, at leastIdo Flax
12/15/2022, 8:22 PMJacob
12/15/2022, 10:02 PMJacob
12/15/2022, 10:08 PMT.
and instead of calling myObject.logger()
call logger<MyObject>()
The latter function has less in its scope since it can't access any instance properties and functions. Keeping the amount of data in function scopes as small as possible is a good practiceIdo Flax
12/16/2022, 9:44 AMbeholder
12/16/2022, 12:02 PM