Пример #1
0
  public static void setLogger(Logger logger) {
    if (logger == null) throw new IllegalArgumentException("logger cannot be null");

    instance.logger = logger;
  }
Пример #2
0
 public static void load(Logger logger) {
   instance.logger = logger;
   instance.doLoad();
 }