Do not string formatting if level is not enabled.