예제 #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();
 }