Relative performance impact of logging in Scala -
I have seen the following logging methods. What is the effect of the performance of each order? Are there any other benefits to using one on one another?
The requirements of my current logging are in play and akka projects.
I think there is no difference between display effects second and third approach Lkul should be identical. The second one is translated into the third person by the Scala compiler. The second one only provides a good syntax.
On being told that the performance of these log statements should not be affected at all. Those log statements are translated into the following, so it automatically follows the best practices that you know from Java.
if (log .sebbugEnabled ()) {log.debug (...)}
Finally: Most liked: -)
Comments
Post a Comment