Package ch.njol.skript.log

Examples of ch.njol.skript.log.CountingLogHandler.stop()


        try {
          if (!Variables.load())
            if (c.getCount() == 0)
              error("(no information available)");
        } finally {
          c.stop();
          h.stop();
        }
       
        final long vld = System.currentTimeMillis() - vls;
        if (logNormal())
View Full Code Here


        if (Skript.logHigh())
          Skript.info("loaded " + numTriggers + " trigger" + (numTriggers == 1 ? "" : "s") + " and " + numCommands + " command" + (numCommands == 1 ? "" : "s") + " from '" + config.getFileName() + "'");
       
        currentScript = null;
      } finally {
        numErrors.stop();
      }
     
//      if (SkriptConfig.enableScriptCaching.value() && cache != null) {
//        if (numErrors.getCount() > 0) {
//          ObjectOutputStream out = null;
View Full Code Here

      rs = changed.acceptChange(mode);
      final ClassInfo<?> c = Classes.getSuperClassInfo(changed.getReturnType());
      final Changer<?> changer = c.getChanger();
      what = changer == null || !Arrays.equals(changer.acceptChange(mode), rs) ? changed.toString(null, false) : c.getName().withIndefiniteArticle();
    } finally {
      h.stop();
    }
    if (rs == null) {
      if (h.getCount() > 0)
        return false;
      switch (mode) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.