void (final Logger log, final String msg, boolean throwError, final String testFrameworkName) { final String text = getTFrameworkPrefix(testFrameworkName) + msg; if (throwError) { log.error(text); } else { log.warn(text); } }