Package com.enterprisedt.util.debug

Examples of com.enterprisedt.util.debug.StandardOutputAppender


            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");

            // this will appear with the level set to INFO
View Full Code Here

TOP

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

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.