All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.anrisoftware.resources.texts.maps.TextsMapLogger Maven / Gradle / Ivy

There is a newer version: 4.7.0
Show newest version
/*
 * Copyright 2012-2015 Erwin Müller 
 *
 * This file is part of resources-texts.
 *
 * resources-texts is free software: you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by the
 * Free Software Foundation, either version 3 of the License, or (at your
 * option) any later version.
 *
 * resources-texts is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with resources-texts. If not, see .
 */
package com.anrisoftware.resources.texts.maps;

import com.anrisoftware.globalpom.log.AbstractLogger;

/**
 * Logging messages for {@link TextsMapImpl}.
 * 
 * @author Erwin Mueller, [email protected]
 * @since 1.0
 */
class TextsMapLogger extends AbstractLogger {

	private static final String CONTAINS_TEXT = "Map contains text resource '{}'.";

	/**
	 * Creates a logger for {@link TextsMapImpl}.
	 */
	TextsMapLogger() {
		super(TextsMapImpl.class);
	}

	void textAlreadyInMap(String name) {
		log.warn(CONTAINS_TEXT, name);
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy