Using the optimization that is already performed in the f version of the log methods, to the non-f functions: if the log level in question is not active, and the return value of the log method is not evaluated, there's no need to do any processing here. This should result in a performance optimization without any downsides.
Solves https://github.com/preaction/Log-Any/issues/69
Using the optimization that is already performed in the
f
version of the log methods, to the non-f
functions: if the log level in question is not active, and the return value of the log method is not evaluated, there's no need to do any processing here. This should result in a performance optimization without any downsides. Solves https://github.com/preaction/Log-Any/issues/69