Package org.objectweb.util.monolog.wrapper.javaLog

Examples of org.objectweb.util.monolog.wrapper.javaLog.LoggerFactory


        prop.put(LoggerFactory.JAVALOG_CONFIGURATION_CLASS, configParam);
    }
    System.out.println("Test the configurability with in " + configMode
      + " mode");

    LoggerFactory mlf = new LoggerFactory();
    try {
      mlf.configure(prop);
    }
    catch (Exception e) {
      System.out.println("Impossible to configure in " + configMode
        + "mode");
      e.printStackTrace();
      System.exit(12);
    }

    Logger l = mlf.getLogger("org.objectweb.monolog.javalog.test.toto");
    l.log(BasicLevel.INFO, "test PASSED");
  }
View Full Code Here

TOP

Related Classes of org.objectweb.util.monolog.wrapper.javaLog.LoggerFactory

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.