Package ch.qos.logback.classic.spi

Examples of ch.qos.logback.classic.spi.ClassPackagingData


      String version = "na";
      if (i++ % 2 == 0) {
        identifier = getRandomJavaIdentifier();
        version = getRandomJavaIdentifier();
      }
      ClassPackagingData cpd = new ClassPackagingData(identifier, version);
      step.setClassPackagingData(cpd);
    }
  }
View Full Code Here


  @Override
  protected void extraData(StringBuilder builder, ThrowableDataPoint tdp) {

    StackTraceElementProxy step = tdp.getStackTraceElementProxy();
    if (step != null) {
      ClassPackagingData pi = step.getClassPackagingData();
      if (pi != null) {
        builder.append(" [").append(pi.getCodeLocation()).append(':').append(
            pi.getVersion()).append(']');
      }
    }
  }
View Full Code Here

  @Override
  protected void extraData(StringBuilder builder, StackTraceElementProxy step) {

    if (step != null) {
      ClassPackagingData pi = step.getClassPackagingData();
      if (pi != null) {
        builder.append(" [").append(pi.getCodeLocation()).append(':').append(
            pi.getVersion()).append(']');
      }
    }
  }
View Full Code Here

  @Override
  protected void extraData(StringBuilder builder, StackTraceElementProxy step) {

    if (step != null) {
      ClassPackagingData pi = step.getClassPackagingData();
      if (pi != null) {
        builder.append(" [").append(pi.getCodeLocation()).append(':').append(
            pi.getVersion()).append(']');
      }
    }
  }
View Full Code Here

  }

  public static StackTraceElementProxy decode(GenericRecord datum) {
    StackTraceElement ste =
      StackTraceElementSerializer.decode((GenericRecord) datum.get("stackTraceElement"));
    ClassPackagingData cpd = ClassPackagingDataSerializer.decode((GenericRecord) datum.get("classPackagingData"));
    StackTraceElementProxy stackTraceElementProxy = new StackTraceElementProxy(ste);
    if (cpd != null) {
      stackTraceElementProxy.setClassPackagingData(cpd);
    }
    return stackTraceElementProxy;
View Full Code Here

  public static ClassPackagingData decode(GenericRecord datum) {
    if (datum != null) {
      String codeLocation =  stringOrNull(datum.get("codeLocation"));
      String version = stringOrNull(datum.get("version"));
      boolean exact = (Boolean) datum.get("exact");
      return new ClassPackagingData(codeLocation, version, exact);
    }
    return null;
  }
View Full Code Here

TOP

Related Classes of ch.qos.logback.classic.spi.ClassPackagingData

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.