Package org.apache.log

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


        public void testAdd1() throws Exception {
            Logger log = LoggingManager.getLoggerForClass();
            Collection<String> 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<String> 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<String> 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

    }

    protected void test()
    {
        Logger log1 = m_lkm.getLogger( "cocoon" );
        log1.debug( "this is the cocoon logger" );
        log1.info( "this is the cocoon logger" );
        log1.info( "this is the cocoon logger" );
        Logger log2 = log1.getChildLogger( "classloader" );
        log2.debug( "this is the childlogger classloader of the cocoon logger" );
        log2.info( "this is the childlogger classloader of the cocoon logger" );
View Full Code Here

        Logger log1 = m_lkm.getLogger( "cocoon" );
        log1.debug( "this is the cocoon logger" );
        log1.info( "this is the cocoon logger" );
        log1.info( "this is the cocoon logger" );
        Logger log2 = log1.getChildLogger( "classloader" );
        log2.debug( "this is the childlogger classloader of the cocoon logger" );
        log2.info( "this is the childlogger classloader of the cocoon logger" );
        Logger log3 = m_lkm.getLogger( "cocoon.classloader" );
        log3.debug( "this is the cocoon.classloader logger" );
        log3.info( "this is the cocoon.classloader logger" );
        Logger log4 = m_lkm.getLogger( "foo" );
View Full Code Here

        log1.info( "this is the cocoon logger" );
        Logger log2 = log1.getChildLogger( "classloader" );
        log2.debug( "this is the childlogger classloader of the cocoon logger" );
        log2.info( "this is the childlogger classloader of the cocoon logger" );
        Logger log3 = m_lkm.getLogger( "cocoon.classloader" );
        log3.debug( "this is the cocoon.classloader logger" );
        log3.info( "this is the cocoon.classloader logger" );
        Logger log4 = m_lkm.getLogger( "foo" );
        log4.debug( "this is the foo logger" );
        log4.info( "this is the foo logger" );
    }
View Full Code Here

        log2.info( "this is the childlogger classloader of the cocoon logger" );
        Logger log3 = m_lkm.getLogger( "cocoon.classloader" );
        log3.debug( "this is the cocoon.classloader logger" );
        log3.info( "this is the cocoon.classloader logger" );
        Logger log4 = m_lkm.getLogger( "foo" );
        log4.debug( "this is the foo logger" );
        log4.info( "this is the foo logger" );
    }

    /** Return the logger */
    protected Logger getLogger()
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]);
        }
       
View Full Code Here

                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 testEqualsAndHashCode() throws Exception
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.