Dale Richardson created METRON-2200:
---------------------------------------

             Summary: Looking at upgrading SLF4J to version 2.x
                 Key: METRON-2200
                 URL: https://issues.apache.org/jira/browse/METRON-2200
             Project: Metron
          Issue Type: Bug
    Affects Versions: 0.7.1
            Reporter: Dale Richardson


SLF4J 2.x updates the logging interface to support passing lambdas as 
parameters.  This can potentially be quite beneficial when the parameter 
contains an expensive operation such as "toJsonString()", that you may only 
want to incur that cost of when tracing, and not during normal operation.

Log4J has supported this type of interface for quite a while now, but SLF4J 1.x 
Interfaces did not expose such functionality.

While the Metron project waits for SLF4J 2.x interfaces to mature, we have 
created our own version of the API as part of METRON-2195.  Any update to the 
new version of SLF4J should also look at removing this makeshift interface that 
is currently in use.




--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to