SLF4J / SLF4J-560 [Resolved] Clarify Logger.makeLoggingEventBuilder() method semantics
============================== 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-560 ============================== 1 comment ------------------------------ Piotr P. Karwasz on 11/Jan/23 8:33 PM [~ceki], I think I finally understand the purpose of this change. A call like: {code:java} logger.info("Hello Logback!"); {code} checks the {{TurboFilter}} first. The logger's level is checked only at a later time. A call like: {code:java} logger.atInfo().log("Hello Logback!"); {code} will check the logger's level first and if it is higher than {{INFO}} the message will be discarded. Therefore the *real* equivalent of the first call is: {code:java} logger.makeLoggingEventBuilder(Level.INFO).log("Hello Logback!"); {code} Since this might be confusing to SLF4J users, maybe you should also remove the level check from {{atInfo()}}? ============================== This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59) _______________________________________________ slf4j-dev mailing list slf4j-dev@qos.ch https://mailman.qos.ch/cgi-bin/mailman/listinfo/slf4j-dev