comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/state/FacetActivity.java @ 570:584591f8203c 3.2.x

Upgrade to Log4j 2
author Tom Gottfried <tom@intevation.de>
date Mon, 28 Feb 2022 17:41:14 +0100
parents 415df0fc4fa1
children
comparison
equal deleted inserted replaced
569:2b40f4bf190d 570:584591f8203c
5 import java.util.ArrayList; 5 import java.util.ArrayList;
6 import java.util.HashMap; 6 import java.util.HashMap;
7 import java.util.List; 7 import java.util.List;
8 import java.util.Map; 8 import java.util.Map;
9 9
10 import org.apache.log4j.Logger; 10 import org.apache.logging.log4j.Logger;
11 import org.apache.logging.log4j.LogManager;
11 12
12 13
13 /** 14 /**
14 * System used in practice used by AttributeWriter in flys-artifacts to decide 15 * System used in practice used by AttributeWriter in flys-artifacts to decide
15 * whether a facet is initially active. 16 * whether a facet is initially active.
48 /** Singleton registry, that maps artifact names to the activities, which 49 /** Singleton registry, that maps artifact names to the activities, which
49 * decide whether or not a facet should be (initially) active. */ 50 * decide whether or not a facet should be (initially) active. */
50 public static final class Registry { 51 public static final class Registry {
51 52
52 /** The logger for this class. */ 53 /** The logger for this class. */
53 private static Logger logger = Logger.getLogger(Registry.class); 54 private static Logger logger = LogManager.getLogger(Registry.class);
54 55
55 /** Singleton instance. */ 56 /** Singleton instance. */
56 private static final Registry INSTANCE = new Registry(); 57 private static final Registry INSTANCE = new Registry();
57 58
58 /** Map of keys (artifact names) to the activities. */ 59 /** Map of keys (artifact names) to the activities. */

http://dive4elements.wald.intevation.org