public static void setLogger(Logger logger) {
    if (logger == null) throw new IllegalArgumentException("logger cannot be null");

    instance.logger = logger;
  }
 public static void reset() {
   instance.setLoaded(false);
   instance.doLoad();
 }
 public static void load(Logger logger) {
   instance.logger = logger;
   instance.doLoad();
 }
 public static StatePharmacyVariances instance() {
   instance.doLoad();
   return instance;
 }