[
https://issues.apache.org/jira/browse/SLING-3634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14077582#comment-14077582
]
Artyom Stetsenko commented on SLING-3634:
-----------------------------------------
The most notable API change is the ability to use varargs in logging statements:
{noformat}
logger.info("Value is {} at {}", val, timestamp);
{noformat}
looks much cleaner than
{noformat}
logger.info("Value is {} at {}", new Object[]{ val, timestamp });
{noformat}
Using a custom slf4j version in a bundle just to get that syntactic sugar seems
silly.
Other than that there have been many performance improvements in the
implementations (parent declares {{slf4j-simple}}) as documented on
http://www.slf4j.org/news.html. Judging by the same page, it seems the latest
APIs should be backwards compatible with 1.5.2.
> Update Parent to latest slf4j
> -----------------------------
>
> Key: SLING-3634
> URL: https://issues.apache.org/jira/browse/SLING-3634
> Project: Sling
> Issue Type: Improvement
> Components: General
> Affects Versions: Parent 19
> Reporter: Artyom Stetsenko
> Priority: Minor
>
> The currently specified slf4j 1.5.2 is nearly six years old.
--
This message was sent by Atlassian JIRA
(v6.2#6252)