You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by GitBox <gi...@apache.org> on 2022/08/16 15:36:53 UTC
[GitHub] [logging-log4j-kotlin] sschuberth commented on pull request #20: LoggingFactory: Make logger() used cached loggers by default
sschuberth commented on PR #20:
URL: https://github.com/apache/logging-log4j-kotlin/pull/20#issuecomment-1216807728
Actually, it probably would make even more sense to turn the extention function into an extension property instead. Something like
val Any.logger: KotlinLogger
inline get() = cachedLoggerOf(this::class.java)
What do you think @rocketraman?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org