Package ch.qos.logback.audit.client.joran

Examples of ch.qos.logback.audit.client.joran.JoranConfigurator


  public static void configureByResource(Auditor auditor, URL url)
      throws AuditException {
    if (url == null) {
      throw new IllegalArgumentException("URL argument cannot be null");
    }
    JoranConfigurator configurator = new JoranConfigurator();
    configurator.setContext(auditor);

    try {
      configurator.doConfigure(url);
    } catch (JoranException e) {
      throw new AuditException("Configuration failure in " + url, e);
    }

  }
View Full Code Here

TOP

Related Classes of ch.qos.logback.audit.client.joran.JoranConfigurator

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.