public void publish(final LogRecord record) {
Logger targetLogger = Logger.getLogger(record.getLoggerName());
final Priority targetLevel = levelMapper.getTargetLevelForSourceLevel(record.getLevel());
final String text = formatRecord(record);
targetLogger.log(LOGGER_CLASS_NAME, targetLevel, text, record.getThrown());
}
private String formatRecord(final LogRecord record) {
final ResourceBundle bundle = record.getResourceBundle();
String msg = record.getMessage();