Package de.mnl.util.logging

Examples of de.mnl.util.logging.DefaultLogFormatter


                rootLogger.removeHandler(handler);
            }
            if (!useSyslog) {
                Handler myHandler = new ConsoleHandler();
                myHandler.setLevel(rootLogger.getLevel());
                myHandler.setFormatter(new DefaultLogFormatter());
                rootLogger.addHandler(myHandler);
            } else {
                SyslogHandler myHandler = new SyslogHandler();
                myHandler.setFacility(Facility.DAEMON);
                myHandler.setTag("srcpd4cu");
View Full Code Here

TOP

Related Classes of de.mnl.util.logging.DefaultLogFormatter

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.