Does log.debug decrease performance
问题 I want to write some logs at the debug log which will not be available in the production logs which has info log level. So how will this extra debug logs affect the performance? I mean if we set the log level at INFO, the logger has to check what the log level is and find that the log.debug needto be ignored. So does this extra log level checking affect performance? Is there any automagical way of removing the log.debug() statements while deployment? I mean during development time the log