Open schakalakka opened 1 year ago
Yeah, it only logs if the according level is set to true.
BUT: what does not count for this example, but for different others in the code is that the string to log is built, first. And that is done in all cases as the check wether the thing shall be reported or not is done in TPS_Logger.isLogging.
By asking whether the according write to log is wished before, we speed up TAPAS by about 50 %. Really.
Example:
Doesn't it log only if the LogLevel is activated anyway?