Package org.apache.log

Examples of org.apache.log.Logger.debug()


    break;
      case LogSystem.INFO_ID:
    logger.info(message);
    break;
      case LogSystem.DEBUG_ID:
    logger.debug(message);
    break;
      case LogSystem.ERROR_ID:
    logger.error(message);
    break;
      default:
View Full Code Here


        break;
        case LogSystem.INFO_ID:
        logger.info(message);
        break;
        case LogSystem.DEBUG_ID:
        logger.debug(message);
        break;
        case LogSystem.ERROR_ID:
        logger.error(message);
        break;
        default:
View Full Code Here

    public void testAdd1() throws Exception {
      Logger log = LoggingManager.getLoggerForClass();
      Collection treePath = Arrays.asList(new String[] { "1", "2", "3", "4" });
      HashTree tree = new HashTree();
      log.debug("treePath = " + treePath);
      tree.add(treePath, "value");
      log.debug("Now treePath = " + treePath);
      log.debug(tree.toString());
      assertEquals(1, tree.list(treePath).size());
      assertEquals("value", tree.getArray(treePath)[0]);
View Full Code Here

      Logger log = LoggingManager.getLoggerForClass();
      Collection treePath = Arrays.asList(new String[] { "1", "2", "3", "4" });
      HashTree tree = new HashTree();
      log.debug("treePath = " + treePath);
      tree.add(treePath, "value");
      log.debug("Now treePath = " + treePath);
      log.debug(tree.toString());
      assertEquals(1, tree.list(treePath).size());
      assertEquals("value", tree.getArray(treePath)[0]);
    }
View Full Code Here

      Collection treePath = Arrays.asList(new String[] { "1", "2", "3", "4" });
      HashTree tree = new HashTree();
      log.debug("treePath = " + treePath);
      tree.add(treePath, "value");
      log.debug("Now treePath = " + treePath);
      log.debug(tree.toString());
      assertEquals(1, tree.list(treePath).size());
      assertEquals("value", tree.getArray(treePath)[0]);
    }

    public void testEqualsAndHashCode1() throws Exception {
View Full Code Here

        b.debug( MSG );
        assertEquals( "Priority debug output", RMSG, getResult( output ) );
        bc.debug( MSG );
        assertEquals( "Priority debug output", RMSG, getResult( output ) );
        bcd.debug( MSG );
        assertEquals( "Priority debug output", RMSG, getResult( output ) );

        b.setPriority( Priority.WARN );
        b.debug( MSG );
        assertEquals( "Priority debug output", "", getResult( output ) );
View Full Code Here

        b.setPriority( Priority.WARN );
        b.debug( MSG );
        assertEquals( "Priority debug output", "", getResult( output ) );
        bc.debug( MSG );
        assertEquals( "Priority debug output", "", getResult( output ) );
        bcd.debug( MSG );
        assertEquals( "Priority debug output", "", getResult( output ) );

        bc.setPriority( Priority.DEBUG );
        b.debug( MSG );
        assertEquals( "Priority debug output", "", getResult( output ) );
View Full Code Here

        bc.setPriority( Priority.DEBUG );
        b.debug( MSG );
        assertEquals( "Priority debug output", "", getResult( output ) );
        bc.debug( MSG );
        assertEquals( "Priority debug output", RMSG, getResult( output ) );
        bcd.debug( MSG );
        assertEquals( "Priority debug output", RMSG, getResult( output ) );

        bcd.setPriority( Priority.WARN );
        b.debug( MSG );
        assertEquals( "Priority debug output", "", getResult( output ) );
View Full Code Here

        bcd.setPriority( Priority.WARN );
        b.debug( MSG );
        assertEquals( "Priority debug output", "", getResult( output ) );
        bc.debug( MSG );
        assertEquals( "Priority debug output", RMSG, getResult( output ) );
        bcd.debug( MSG );
        assertEquals( "Priority debug output", "", getResult( output ) );

        bcd.unsetPriority();
        b.debug( MSG );
        assertEquals( "Priority debug output", "", getResult( output ) );
View Full Code Here

        bcd.unsetPriority();
        b.debug( MSG );
        assertEquals( "Priority debug output", "", getResult( output ) );
        bc.debug( MSG );
        assertEquals( "Priority debug output", RMSG, getResult( output ) );
        bcd.debug( MSG );
        assertEquals( "Priority debug output", RMSG, getResult( output ) );

        bc.unsetPriority();
        b.debug( MSG );
        assertEquals( "Priority debug output", "", getResult( output ) );
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.