[slf4j-dev] [JIRA] Updates for SLF4J-497: SLF4JLocationAwareLog avoid building message when logging level is disabled
QOS.CH (JIRA)
noreply-jira at qos.ch
Mon Feb 8 02:28:00 CET 2021
SLF4J / SLF4J-497 [Open]
SLF4JLocationAwareLog avoid building message when logging level is disabled
==============================
Here's what changed in this issue in the last few minutes.
There is 1 comment.
View or comment on issue using this link
https://jira.qos.ch/browse/SLF4J-497
==============================
1 comment
------------------------------
Ondrej Zizka on 08/Feb/21 2:13 AM
Big YES for this feature. JUL has had it that for several years now. And this is the easiest way to avoid string building. E.g. in Kontlin:
log.info \{ "Very big entity whose toString() will take a second if called: ${bigEntity}" }
==============================
This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)
More information about the slf4j-dev
mailing list