Examples of debug()


Examples of anvil.Log.debug()

      }
    } finally {
      Log log = context.log();

      long ended = System.currentTimeMillis();
      log.debug(context.getAddress().getPathinfo() + ' ' + (ended - started) + " ms");

      long used_end = (runtime.totalMemory() - runtime.freeMemory());
      log.info("Memory (kB)  "+(used_start/1024)+" - "+(used_end/1024)+" = "+(used_end - used_start)/1024);
      //log.info("Used_end_kB   : "+);
      //log.info("Delta_kB      : "+);
View Full Code Here

Examples of bm.core.log.Log.debug()

                }
            }
        }
        catch( RecordStoreNotFoundException e )
        {
            log.debug( "RecordStore did not exist" );
        }
        catch( RecordStoreException e )
        {
            log.error( e );
        }
View Full Code Here

Examples of ch.njol.skript.config.SectionNode.debug()

         
          final NonNullPair<SkriptEventInfo<?>, SkriptEvent> parsedEvent = SkriptParser.parseEvent(event, "can't understand this event: '" + node.getKey() + "'");
          if (parsedEvent == null)
            continue;
         
          if (Skript.debug() || node.debug())
            Skript.debug(event + " (" + parsedEvent.getSecond().toString(null, true) + "):");
         
          setCurrentEvent("" + parsedEvent.getFirst().getName().toLowerCase(Locale.ENGLISH), parsedEvent.getFirst().events);
          final Trigger trigger;
          try {
View Full Code Here

Examples of ch.qos.logback.classic.HLogger.debug()

  static void speedTestHashLogger(final int len) {
    final HLogger logger = hashLoggerContext.getLogger(loggerName);

    long start = System.nanoTime();
    for (int i = 0; i < len; i++) {
      logger.debug("some message");
    }
    long result = System.nanoTime() - start;
    System.out.println("DIRECT Hash logger: " + (result / len));
  }
View Full Code Here

Examples of ch.qos.logback.classic.Logger.debug()

        bar.setLevel(Level.DEBUG);
        Logger baz = (Logger)LoggerFactory.getLogger("foo.baz");
        baz.setLevel(Level.INFO);

        bar.debug("Test message");
        baz.debug("Test message"); // Would not be logged

        // One event should be logged.
        assertEquals(1, ta.events.size());
    }
View Full Code Here

Examples of ch.qos.logback.classic.control.ControlLogger.debug()

  static void speedTestControlLogger(final int len) {
    final ControlLogger logger = controlContext.getLogger(loggerName);

    long start = System.nanoTime();
    for (int i = 0; i < len; i++) {
      logger.debug("some message");
    }
    long result = System.nanoTime() - start;
    System.out.println("DIRECT Control logger: " + result / len);
  }
View Full Code Here

Examples of com.aelitis.azureus.core.messenger.ClientMessageContext.debug()

          }

          if (opId.equals(DisplayListener.OP_OPEN_URL)) {
            String url = MapUtils.getMapString(decodedMap, "url", null);
            if (!decodedMap.containsKey("target")) {
              context.debug("no target for url: " + url);
            } else if (UrlFilter.getInstance().urlIsBlocked(url)) {
              context.debug("url blocked: " + url);
            } else if (!UrlFilter.getInstance().urlCanRPC(url)) {
              context.debug("url not in whitelistL " + url);
            } else {
View Full Code Here

Examples of com.alibaba.druid.support.logging.JakartaCommonsLoggingImpl.debug()

        JakartaCommonsLoggingImpl impl = new JakartaCommonsLoggingImpl(DruidDataSource.class.getName());
      
        impl.isDebugEnabled();
        impl.isInfoEnabled();
        impl.isWarnEnabled();
        impl.debug("");
        impl.debug("", new Exception());
        impl.info("");
        impl.warn("");
        impl.warn("", new Exception());
        impl.error("");
View Full Code Here

Examples of com.alibaba.druid.support.logging.Jdk14LoggingImpl.debug()

        Jdk14LoggingImpl impl = new Jdk14LoggingImpl(DruidDataSource.class.getName());
      
        impl.isDebugEnabled();
        impl.isInfoEnabled();
        impl.isWarnEnabled();
        impl.debug("");
        impl.debug("", new Exception());
        impl.info("");
        impl.warn("");
        impl.warn("", new Exception());
        impl.error("");
View Full Code Here

Examples of com.alibaba.druid.support.logging.Log4jImpl.debug()

        Log4jImpl impl = new Log4jImpl(DruidDataSource.class.getName());
      
        impl.isDebugEnabled();
        impl.isInfoEnabled();
        impl.isWarnEnabled();
        impl.debug("");
        impl.debug("", new Exception());
        impl.info("");
        impl.warn("");
        impl.warn("", new Exception());
        impl.error("");
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.