[slf4j-dev] [JIRA] Updates for SLF4J-526: Idea for fluent API improvement
QOS.CH (JIRA)
noreply-jira at qos.ch
Mon Dec 27 21:49:00 CET 2021
SLF4J / SLF4J-526 [Open]
Idea for fluent API improvement
==============================
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-526
==============================
1 comment
------------------------------
Ceki Gülcü on 27/Dec/21 9:38 PM
Thank you so much for the PR.
The {{log()}} method with no arguments adds welcome flexibility to the API. However, I am afraid that users will forget to call {{log()}} after populating the event. That is the reason it was not added in the first place. (I forgot about this reasoning until recently.)
So there is this tension between an API which is not as nice but in which mistakes are harder or a nicer API with more potential for errors.
==============================
This message was sent by Atlassian Jira (v8.8.0#808000-sha1:e2c7e59)
More information about the slf4j-dev
mailing list