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)

_______________________________________________
slf4j-dev mailing list
slf4j-dev@qos.ch
http://mailman.qos.ch/mailman/listinfo/slf4j-dev

Reply via email to