Package org.codehaus.dna.impl

Examples of org.codehaus.dna.impl.Jdk14Logger.info()


        final String message = "Meep!";
        final Throwable throwable = null;
        final boolean output = true;

        final Jdk14Logger logger = createLogger( level );
        logger.info( message );
        checkLogger( output, message, throwable, type );
    }

    public void testJdk14LoggerInfoDisabled()
        throws Exception
View Full Code Here


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

        final Jdk14Logger logger = createLogger( level );
        logger.info( message );
        checkLogger( false, null, null, null );
    }

    public void testJdk14LoggerInfoWithExceptionEnabled()
        throws Exception
View Full Code Here

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

        final Jdk14Logger logger = createLogger( level );
        logger.info( message, throwable );
        checkLogger( output, message, throwable, type );
    }

    public void testJdk14LoggerInfoWithExceptionDisabled()
        throws Exception
View Full Code Here

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

        final Jdk14Logger logger = createLogger( level );
        logger.info( message, throwable );
        checkLogger( false, null, null, null );
    }

    public void testJdk14LoggerWarnEnabled()
        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.