Package org.woped.gui.utilities

Examples of org.woped.gui.utilities.WopedLogger


   * Init loggers for different WoPeD components
  **/
    void initLogging() {
      DOMConfigurator.configure(RunWoPeD.class.getResource("/org/woped/gui/utilities/log4j.xml"));
 
      LoggerManager.register(new WopedLogger(org.apache.log4j.Logger.getLogger(
        Constants.GUI_LOGGER)), Constants.GUI_LOGGER);
      LoggerManager.register(new WopedLogger(org.apache.log4j.Logger.getLogger(
        org.woped.editor.Constants.EDITOR_LOGGER)),
        org.woped.editor.Constants.EDITOR_LOGGER);
      LoggerManager.register(new WopedLogger(org.apache.log4j.Logger.getLogger(
        org.woped.config.Constants.CONFIG_LOGGER)),
        org.woped.config.Constants.CONFIG_LOGGER);
      LoggerManager.register(new WopedLogger(org.apache.log4j.Logger.getLogger(
        org.woped.file.Constants.FILE_LOGGER)),
        org.woped.file.Constants.FILE_LOGGER);
      LoggerManager.register(new WopedLogger(org.apache.log4j.Logger.getLogger(
        org.woped.config.Constants.CONFIG_LOGGER)),
        org.woped.config.Constants.CONFIG_LOGGER);
      LoggerManager.register(new WopedLogger(org.apache.log4j.Logger.getLogger(
        org.woped.core.Constants.CORE_LOGGER)),
        org.woped.core.Constants.CORE_LOGGER);       
      LoggerManager.register(new WopedLogger(org.apache.log4j.Logger.getLogger(
        org.woped.quantana.Constants.QUANTANA_LOGGER)),
        org.woped.quantana.Constants.QUANTANA_LOGGER);
      LoggerManager.register(new WopedLogger(org.apache.log4j.Logger.getLogger(
        org.woped.qualanalysis.Constants.QUALANALYSIS_LOGGER)),
        org.woped.qualanalysis.Constants.QUALANALYSIS_LOGGER);
      LoggerManager.register(new WopedLogger(org.apache.log4j.Logger.getLogger(
        org.woped.translations.Constants.TRANSLATIONS_LOGGER)),
        org.woped.translations.Constants.TRANSLATIONS_LOGGER);
   
      LoggerManager.info(Constants.GUI_LOGGER, "INIT APPLICATION");
    }
View Full Code Here

TOP

Related Classes of org.woped.gui.utilities.WopedLogger

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.