Package org.codehaus.dna.impl

Examples of org.codehaus.dna.impl.Jdk14Logger


    public void testLogkitLoggerEmptyCtor()
        throws Exception
    {
        try
        {
            new Jdk14Logger( null );
        }
        catch( NullPointerException npe )
        {
            assertEquals( "npe.getMessage()", "logger", npe.getMessage() );
        }
View Full Code Here


    }

    public void testJdk14LoggerGetChildLogger()
        throws Exception
    {
        final Jdk14Logger logger = createLogger( Level.FINE );

        assertNotSame( "logger.getChildLogger == logger",
                       logger,
                       logger.getChildLogger( "whatever" ) );
    }
View Full Code Here

        final Level type = Level.FINEST;
        final String message = "Meep!";
        final Throwable throwable = null;
        final boolean output = true;

        final Jdk14Logger logger = createLogger( level );
        logger.trace( message );
        checkLogger( output, message, throwable, type );
    }
View Full Code Here

        throws Exception
    {
        final Level level = Level.OFF;
        final String message = "Meep!";

        final Jdk14Logger logger = createLogger( level );
        logger.trace( message );
        checkLogger( false, null, null, null );
    }
View Full Code Here

        final Level type = Level.FINEST;
        final String message = "Meep!";
        final Throwable throwable = new Throwable();
        final boolean output = true;

        final Jdk14Logger logger = createLogger( level );

        logger.trace( message, throwable );
        checkLogger( output, message, throwable, type );
    }
View Full Code Here

    {
        final Level level = Level.OFF;
        final String message = "Meep!";
        final Throwable throwable = new Throwable();

        final Jdk14Logger logger = createLogger( level );

        logger.trace( message, throwable );
        checkLogger( false, null, null, null );
    }
View Full Code Here

        final Level type = Level.FINE;
        final String message = "Meep!";
        final Throwable throwable = null;
        final boolean output = true;

        final Jdk14Logger logger = createLogger( level );
        logger.debug( message );
        checkLogger( output, message, throwable, type );
    }
View Full Code Here

        throws Exception
    {
        final Level level = Level.OFF;
        final String message = "Meep!";

        final Jdk14Logger logger = createLogger( level );
        logger.debug( message );
        checkLogger( false, null, null, null );
    }
View Full Code Here

        final Level type = Level.FINE;
        final String message = "Meep!";
        final Throwable throwable = new Throwable();
        final boolean output = true;

        final Jdk14Logger logger = createLogger( level );
        logger.debug( message, throwable );
        checkLogger( output, message, throwable, type );
    }
View Full Code Here

    {
        final Level level = Level.OFF;
        final String message = "Meep!";
        final Throwable throwable = new Throwable();

        final Jdk14Logger logger = createLogger( level );
        logger.debug( message, throwable );
        checkLogger( false, null, null, null );
    }
View Full Code Here

TOP

Related Classes of org.codehaus.dna.impl.Jdk14Logger

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.