Package ch.qos.logback.classic.spi

Examples of ch.qos.logback.classic.spi.Configurator.configure()


    } else {
      Configurator c = EnvUtil.loadFromServiceLoader(Configurator.class);
      if (c != null) {
        try {
          c.setContext(loggerContext);
          c.configure(loggerContext);
        } catch (Exception e) {
          throw new LogbackException(String.format("Failed to initialize Configurator: %s using ServiceLoader",
              c != null ? c.getClass().getCanonicalName() : "null"), e);
        }
      } else {
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.