Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Evaluate arguments only if they are to be logged #27
This PR proposes that arguments passed as
Motivation and background
This increases performance if logs on certain levels (e.g.
After the change, the arguments would be evaluated only if they really are to be logged and therefore are needed.
@@ Coverage Diff @@ ## master #27 +/- ## ========================================== - Coverage 78.71% 78.61% -0.11% ========================================== Files 11 11 Lines 357 360 +3 ========================================== + Hits 281 283 +2 - Misses 76 77 +1