Package mydatagenerator.init

Examples of mydatagenerator.init.Log4jManager.initializeLogging()


           {
              Log4jManager log4jManager = new Log4jManager();  
              
            //set some logging system properties: the chosen path to the output log file and the log level
            String logLevel = (String) this.logConfigurationPanel.getLogLevelCombo().getSelectedItem();
            log4jManager.initializeLogging(this.logConfigurationPanel.getOutLogFileField().getText()+File.separator+Log4jManager.OUTPUT_FILENAME,logLevel);
           
            this.logConfigurationPanel.getMessageLabel().setForeground(Color.GREEN);
            this.logConfigurationPanel.getMessageLabel().setFont(new Font("Serif", Font.BOLD, 15));
            this.logConfigurationPanel.getMessageLabel().setText("Logging enabled successfully !");
           
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.