Package ch.njol.skript.log

Examples of ch.njol.skript.log.ErrorDescLogHandler


       
        if (logNormal())
          info("Loading variables...");
        final long vls = System.currentTimeMillis();
       
        final LogHandler h = SkriptLogger.startLogHandler(new ErrorDescLogHandler() {
          private final List<LogEntry> log = new ArrayList<LogEntry>();
         
          @Override
          public LogResult log(final LogEntry entry) {
            super.log(entry);
View Full Code Here


   
    final Date start = new Date();
   
    final ScriptInfo i;
   
    final ErrorDescLogHandler h = SkriptLogger.startLogHandler(new ErrorDescLogHandler(null, null, m_no_errors.toString()));
    try {
      Language.setUseLocal(false);
     
      i = loadScripts(scriptsFolder);
     
      synchronized (loadedScripts) {
        loadedScripts.add(i);
      }
    } finally {
      Language.setUseLocal(true);
      h.stop();
    }
   
    if (i.files == 0)
      Skript.warning(m_no_scripts.toString());
    if (Skript.logNormal() && i.files > 0)
View Full Code Here

TOP

Related Classes of ch.njol.skript.log.ErrorDescLogHandler

Copyright © 2018 www.massapicom. 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.