Falseclock opened a new pull request #25: Allow MDC use callable param
URL: https://github.com/apache/logging-log4php/pull/25
 
 
   up to now it is impossible to use anonymouse function in LoggerMDC
   
   This small fix allows to use function as second parameter
   
   ```php
   LoggerMDC::put("someSpecialVar",
        function() {
                return RequestIdGenerator::me()->getSeq();
        }
   );
   
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to