com.beachape
SLF4JLogger wrapper for writing log messages to a dedicated logger in LTSV format in a performant way.
The logging methods in this trait are performant because the check-enabled-idiom is applied using macros. For example,
logger.info("message" -> s"$expensiveMessage"*)
gets expanded at compile-time to
if (logger.isDebugEnabled) logger.info(toLtsv("message" -> s"$expensiveMessage"*))
SLF4JLogger wrapper for writing log messages to a dedicated logger in LTSV format in a performant way.
The logging methods in this trait are performant because the check-enabled-idiom is applied using macros. For example,
gets expanded at compile-time to