Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/resources/Resources.java @ 9726:0a5239a1e46e 3.2.x
Upgrade to Log4j 2
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 02 Mar 2022 10:26:50 +0100 |
parents | 1cd7225df846 |
children |
comparison
equal
deleted
inserted
replaced
9725:da398790fa32 | 9726:0a5239a1e46e |
---|---|
11 import java.text.MessageFormat; | 11 import java.text.MessageFormat; |
12 import java.util.Locale; | 12 import java.util.Locale; |
13 import java.util.MissingResourceException; | 13 import java.util.MissingResourceException; |
14 import java.util.ResourceBundle; | 14 import java.util.ResourceBundle; |
15 | 15 |
16 import org.apache.log4j.Logger; | 16 import org.apache.logging.log4j.Logger; |
17 import org.apache.logging.log4j.LogManager; | |
17 | 18 |
18 import org.dive4elements.artifacts.CallMeta; | 19 import org.dive4elements.artifacts.CallMeta; |
19 | 20 |
20 /** | 21 /** |
21 * This class provides methods for i18n. | 22 * This class provides methods for i18n. |
23 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 24 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
24 */ | 25 */ |
25 public class Resources { | 26 public class Resources { |
26 | 27 |
27 /** The log that is used in this class.*/ | 28 /** The log that is used in this class.*/ |
28 private static Logger log = Logger.getLogger(Resources.class); | 29 private static Logger log = LogManager.getLogger(Resources.class); |
29 | 30 |
30 /** The singleton instance.*/ | 31 /** The singleton instance.*/ |
31 private static Resources INSTANCE; | 32 private static Resources INSTANCE; |
32 | 33 |
33 /** The locales supported by this server.*/ | 34 /** The locales supported by this server.*/ |