performance increase, no logging if the level is disabled