franta-hg@8: /** franta-hg@8: * copy-image-resizer franta-hg@8: * Copyright © 2013 František Kučera (frantovo.cz) franta-hg@8: * franta-hg@8: * This program is free software: you can redistribute it and/or modify franta-hg@8: * it under the terms of the GNU General Public License as published by franta-hg@8: * the Free Software Foundation, either version 3 of the License, or franta-hg@8: * (at your option) any later version. franta-hg@8: * franta-hg@8: * This program is distributed in the hope that it will be useful, franta-hg@8: * but WITHOUT ANY WARRANTY; without even the implied warranty of franta-hg@8: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the franta-hg@8: * GNU General Public License for more details. franta-hg@8: * franta-hg@8: * You should have received a copy of the GNU General Public License franta-hg@8: * along with this program. If not, see . franta-hg@8: */ franta-hg@8: package cz.frantovo.copyImageResizer.logging; franta-hg@8: franta-hg@8: /** franta-hg@8: * Configures logging subsystem. franta-hg@16: * Usage: java franta-hg@16: * -Djava.util.logging.config.class=cz.frantovo.copyImageResizer.logging.SimpleLoggerInitializer … franta-hg@8: * franta-hg@8: * @author Ing. František Kučera (frantovo.cz) franta-hg@8: */ franta-hg@16: public class SimpleLoggerInitializer extends AbstractInitializer { franta-hg@8: franta-hg@8: public static final String LEVEL_PROPERTY = ConsoleLoggerInitializer.class.getName() + ".level"; franta-hg@8: franta-hg@16: @Override franta-hg@16: protected AbstractFormatter createFormatter() { franta-hg@16: return new SimpleFormatter(); franta-hg@8: } franta-hg@8: franta-hg@8: }