Tom
09/15/2025, 1:42 PMYoussef Shoaib [MOD]
09/15/2025, 1:43 PMcontextOf<Foo>() if you want the value itselfTom
09/15/2025, 1:58 PMwithConsoleLogger {
// you can call functions with Logger as context parameter
logWithTime("doing something")
}Tom
09/15/2025, 1:58 PMCLOVIS
09/15/2025, 2:18 PMcontext(logger: Logger)
fun logWithTime(message: String) = logger.logWithTime(message)Tom
09/15/2025, 2:59 PMCLOVIS
09/15/2025, 3:00 PMDaniel Pitts
09/15/2025, 9:53 PMYoussef Shoaib [MOD]
09/15/2025, 10:13 PMDaniel Pitts
09/15/2025, 10:14 PMTom
09/17/2025, 8:59 AM