Package com.enterprisedt.util.debug

Examples of com.enterprisedt.util.debug.FileAppender


    /**
     *  Setup is called before running each test
     */   
    protected void setUp() throws Exception {
        Logger.addAppender(new FileAppender(logDir + File.separator + getLogName()));
    }
View Full Code Here


            // set up logger so that we get some output
            Logger log = Logger.getLogger(SetupLogging.class);
            Logger.setLevel(Level.INFO);

            // log to a file and also to standard output
            Logger.addAppender(new FileAppender("output.log"));
            Logger.addAppender(new StandardOutputAppender());

            // this will not appear unless the level is set to DEBUG
            log.debug("This is a debug message");
View Full Code Here

    /**
     *  Setup is called before running each test
     */   
    protected void setUp() throws Exception {
        Logger.addAppender(new FileAppender(logDir + File.separator + getLogName()));
    }
View Full Code Here

TOP

Related Classes of com.enterprisedt.util.debug.FileAppender

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.