author | František Kučera <franta-hg@frantovo.cz> |
Mon, 17 Nov 2014 23:39:40 +0100 | |
changeset 20 | 4e4ad30c17d4 |
parent 16 | 4634176c6602 |
permissions | -rw-r--r-- |
franta-hg@8 | 1 |
/** |
franta-hg@8 | 2 |
* copy-image-resizer |
franta-hg@8 | 3 |
* Copyright © 2013 František Kučera (frantovo.cz) |
franta-hg@8 | 4 |
* |
franta-hg@8 | 5 |
* This program is free software: you can redistribute it and/or modify |
franta-hg@8 | 6 |
* it under the terms of the GNU General Public License as published by |
franta-hg@8 | 7 |
* the Free Software Foundation, either version 3 of the License, or |
franta-hg@8 | 8 |
* (at your option) any later version. |
franta-hg@8 | 9 |
* |
franta-hg@8 | 10 |
* This program is distributed in the hope that it will be useful, |
franta-hg@8 | 11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
franta-hg@8 | 12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
franta-hg@8 | 13 |
* GNU General Public License for more details. |
franta-hg@8 | 14 |
* |
franta-hg@8 | 15 |
* You should have received a copy of the GNU General Public License |
franta-hg@8 | 16 |
* along with this program. If not, see <http://www.gnu.org/licenses/>. |
franta-hg@8 | 17 |
*/ |
franta-hg@8 | 18 |
package cz.frantovo.copyImageResizer.logging; |
franta-hg@8 | 19 |
|
franta-hg@8 | 20 |
/** |
franta-hg@8 | 21 |
* Configures logging subsystem. |
franta-hg@16 | 22 |
* Usage: java |
franta-hg@16 | 23 |
* -Djava.util.logging.config.class=cz.frantovo.copyImageResizer.logging.ConsoleLoggerInitializer … |
franta-hg@8 | 24 |
* |
franta-hg@8 | 25 |
* @author Ing. František Kučera (frantovo.cz) |
franta-hg@8 | 26 |
*/ |
franta-hg@16 | 27 |
public class ConsoleLoggerInitializer extends AbstractInitializer { |
franta-hg@8 | 28 |
|
franta-hg@16 | 29 |
@Override |
franta-hg@16 | 30 |
protected AbstractFormatter createFormatter() { |
franta-hg@16 | 31 |
return new ColorfulConsoleFormatter(); |
franta-hg@8 | 32 |
} |
franta-hg@8 | 33 |
} |