Examples of debug()


Examples of org.jostraca.util.CommandLineUserMessageHandler.debug()


  public void testMessages() {
    UserMessageHandler umh = new CommandLineUserMessageHandler();
    umh.add( UserMessageHandler.DEBUG, "debug01" );
    umh.debug( "debug02" );

    umh.setThreshold( UserMessageHandler.INFO );
    umh.add( UserMessageHandler.DEBUG, "debug03 FAIL" );

    umh.debug( "debug04 FAIL" );
View Full Code Here

Examples of org.jostraca.util.RecordingUserMessageHandler.debug()


  public void testMessages() {
    RecordingUserMessageHandler umh = new RecordingUserMessageHandler();
    umh.add( UserMessageHandler.DEBUG, "debug01" );
    umh.debug( "debug02" );

    assertEquals( "DEBUG: debug01\nDEBUG: debug02\n", umh.toString( ) );
    assertEquals( "DEBUG: debug01\nDEBUG: debug02\n", umh.toString( UserMessageHandler.DEBUG ) );

    umh.info"info01" );
View Full Code Here

Examples of org.jostraca.util.UserMessageHandler.debug()


  public void testMessages() {
    UserMessageHandler umh = new CommandLineUserMessageHandler();
    umh.add( UserMessageHandler.DEBUG, "debug01" );
    umh.debug( "debug02" );

    umh.setThreshold( UserMessageHandler.INFO );
    umh.add( UserMessageHandler.DEBUG, "debug03 FAIL" );

    umh.debug( "debug04 FAIL" );
View Full Code Here

Examples of org.knopflerfish.service.log.LogRef.debug()

        } catch (IllegalArgumentException iae){
          // An 'If-Modified-Since' header is present but the value
          // can not be parsed; ignore it.
          final LogRef log = Activator.log;
          if (null!=log && log.doDebug()) {
            log.debug("Ignoring broken 'If-Modified-Since' header: "
                      +iae.getMessage(), iae);
          }
        }
        response.setDateHeader("Last-Modified", date);
      }
View Full Code Here

Examples of org.modeshape.common.logging.Logger.debug()

    public void start() {
        if (!printedLocation && System.getProperty(JBOSS_SERVER_DATA_DIR) == null) {
            // We're not running in JBoss AS (where we always specify the directory where the binaries are stored),
            // so log where the temporary directory is ...
            Logger logger = Logger.getLogger(getClass());
            logger.debug("ModeShape repositories will use the following directory for transient storage of binary values unless repository configurations specify otherwise: {0}",
                         getDirectory().getAbsolutePath());
            printedLocation = true;
        }
        super.start();
    }
View Full Code Here

Examples of org.moxie.console.Console.debug()

    if (compileLinkedProjects) {
      for (Build linkedProject: build.getSolver().getLinkedModules()) {
        if (builds.contains(linkedProject)) {
          // already built, skip
          console.debug(1, "skipping {0}, already compiled", linkedProject.getPom().getManagementId());
          continue;
        }
        // add the build to the stack so we do not rebuild
        builds.add(linkedProject);
View Full Code Here

Examples of org.olat.core.logging.OLog.debug()

    ModuleConfiguration config = getModuleConfiguration();
    String thisConf = super.getDisplayOption(false);
    if (thisConf == null
        && config.get(STCourseNodeEditController.CONFIG_KEY_DISPLAY_TYPE).equals(STCourseNodeEditController.CONFIG_VALUE_DISPLAY_FILE)) {
      if (logger.isDebug()) {
        logger.debug("no displayOption set, use default (content)", thisConf);
      }
      return CourseNode.DISPLAY_OPTS_CONTENT;
    }
    if (logger.isDebug()) {
      logger.debug("there is a config set, use it: " + thisConf);
View Full Code Here

Examples of org.openhab.binding.maxcube.internal.message.Message.debug()

        Message message;
        try {
          message = processRawMessage(raw);

          message.debug(logger);

          if (message != null) {
            if (message.getType() == MessageType.M) {
              M_Message msg = (M_Message) message;
              for (DeviceInformation di : msg.devices) {
View Full Code Here

Examples of org.ow2.util.log.Log.debug()

     * @throws Exception if invocation fails
     */
    public static Object getParametersArray(final InvocationContext ic) throws Exception {
        Log logger = LogFactory.getLog(InvocationContextHelper.class);

        logger.debug("Starting method getParametersArray...");

        Object[] arNew = null;
        Object[] arParam = ic.getParameters();

        logger.debug("current parameters: {0}", arParam[0]);
View Full Code Here

Examples of org.pentaho.platform.util.logging.SimpleLogger.debug()

    Assert.assertEquals( logLevelWithParam, ILogger.WARN );

    logger.warn( "This is a warning with class as an object" + ILogger.WARN ); //$NON-NLS-1$
    logger.warn( "This is a warning with class as an object" + +ILogger.WARN, new Throwable() ); //$NON-NLS-1$

    logger.debug( "This is a debug with class as an object" + ILogger.DEBUG ); //$NON-NLS-1$
    logger.debug( "This is a debug with class as an object" + ILogger.DEBUG, new Throwable() ); //$NON-NLS-1$

    logger.error( "This is a error with class as an object" + ILogger.ERROR ); //$NON-NLS-1$
    logger.error( "This is a error with class as an object" + ILogger.ERROR, new Throwable() ); //$NON-NLS-1$
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.