コード例 #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();
 }