ThrowableProxyConverter.extraData
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using ch.qos.logback.classic.pattern.ThrowableProxyConverter.extraData (Showing top 8 results out of 315)

  • Common ways to obtain ThrowableProxyConverter
private void myMethod () {
ThrowableProxyConverter t =
  • new ThrowableProxyConverter()
  • Smart code suggestions by Codota
}
origin: ch.qos.logback/logback-classic

private void printStackLine(StringBuilder buf, int ignoredCount, StackTraceElementProxy element) {
  buf.append(element);
  extraData(buf, element); // allow other data to be added
  if (ignoredCount > 0) {
    printIgnoredCount(buf, ignoredCount);
  }
}
origin: camunda/camunda-bpm-platform

 protected void subjoinSTEPArray(StringBuilder buf, int indent, IThrowableProxy tp) {
  StackTraceElementProxy[] stepArray = tp.getStackTraceElementProxyArray();
  int commonFrames = tp.getCommonFrames();

  boolean unrestrictedPrinting = lengthOption > stepArray.length;


  int maxIndex = (unrestrictedPrinting) ? stepArray.length : lengthOption;
  if (commonFrames > 0 && unrestrictedPrinting) {
   maxIndex -= commonFrames;
  }

  for (int i = 0; i < maxIndex; i++) {
   ThrowableProxyUtil.indent(buf, indent);
   buf.append(stepArray[i]);
   extraData(buf, stepArray[i]); // allow other data to be added
   buf.append(CoreConstants.LINE_SEPARATOR);
  }

  if (commonFrames > 0 && unrestrictedPrinting) {
   ThrowableProxyUtil.indent(buf, indent);
   buf.append("... ").append(tp.getCommonFrames()).append(
       " common frames omitted").append(CoreConstants.LINE_SEPARATOR);
  }
 }
}
origin: tony19/logback-android

private void printStackLine(StringBuilder buf, int ignoredCount, StackTraceElementProxy element) {
 buf.append(element);
 extraData(buf, element); // allow other data to be added
 if (ignoredCount > 0) {
  printIgnoredCount(buf, ignoredCount);
 }
}
origin: com.impetus.fabric/fabric-jdbc-driver-shaded

private void printStackLine(StringBuilder buf, int ignoredCount, StackTraceElementProxy element) {
  buf.append(element);
  extraData(buf, element); // allow other data to be added
  if (ignoredCount > 0) {
    printIgnoredCount(buf, ignoredCount);
  }
}
origin: Nextdoor/bender

private void printStackLine(StringBuilder buf, int ignoredCount, StackTraceElementProxy element) {
  buf.append(element);
  extraData(buf, element); // allow other data to be added
  if (ignoredCount > 0) {
    printIgnoredCount(buf, ignoredCount);
  }
}
origin: io.virtdata/virtdata-lib-realer

private void printStackLine(StringBuilder buf, int ignoredCount, StackTraceElementProxy element) {
  buf.append(element);
  extraData(buf, element); // allow other data to be added
  if (ignoredCount > 0) {
    printIgnoredCount(buf, ignoredCount);
  }
}
origin: at.bestsolution.efxclipse.eclipse/ch.qos.logback.classic

 void subjoinThrowableProxy(StringBuilder buf, IThrowableProxy tp) {
  ThrowableProxyUtil.subjoinFirstLine(buf, tp);
  buf.append(CoreConstants.LINE_SEPARATOR);
  StackTraceElementProxy[] stepArray = tp.getStackTraceElementProxyArray();
  int commonFrames = tp.getCommonFrames();

  boolean unrestrictedPrinting = lengthOption > stepArray.length;


  int maxIndex = (unrestrictedPrinting) ? stepArray.length : lengthOption;
  if (commonFrames > 0 && unrestrictedPrinting) {
   maxIndex -= commonFrames;
  }

  for (int i = 0; i < maxIndex; i++) {
   String string = stepArray[i].toString();
   buf.append(CoreConstants.TAB);
   buf.append(string);
   extraData(buf, stepArray[i]); // allow other data to be added
   buf.append(CoreConstants.LINE_SEPARATOR);
  }

  if (commonFrames > 0 && unrestrictedPrinting) {
   buf.append("\t... ").append(tp.getCommonFrames()).append(
       " common frames omitted").append(CoreConstants.LINE_SEPARATOR);
  }
 }
}
origin: com.alibaba.citrus.tool/antx-autoexpand

 void printThrowableProxy(StringBuilder buf, IThrowableProxy tp) {
  ThrowableProxyUtil.printFirstLine(buf, tp);
  buf.append(CoreConstants.LINE_SEPARATOR);
  StackTraceElementProxy[] stepArray = tp.getStackTraceElementProxyArray();
  int commonFrames = tp.getCommonFrames();

  boolean unrestrictedPrinting = lengthOption > stepArray.length;
  int length = (unrestrictedPrinting) ? stepArray.length : lengthOption;


  int maxIndex = length;
  if (commonFrames > 0 && unrestrictedPrinting) {
   maxIndex -= commonFrames;
  }

  for (int i = 0; i < maxIndex; i++) {
   String string = stepArray[i].toString();
   buf.append(CoreConstants.TAB);
   buf.append(string);
   extraData(buf, stepArray[i]); // allow other data to be added
   buf.append(CoreConstants.LINE_SEPARATOR);
  }

  if (commonFrames > 0 && unrestrictedPrinting) {
   buf.append("\t... " + tp.getCommonFrames()).append(
     " common frames omitted").append(CoreConstants.LINE_SEPARATOR);
  }
 }
}
ch.qos.logback.classic.patternThrowableProxyConverterextraData

Popular methods of ThrowableProxyConverter

  • throwableProxyToString
  • convert
  • start
  • addError
  • addEvaluator
  • addStatus
  • getContext
  • getFirstOption
  • getOptionList
  • <init>
  • recursiveAppend
  • subjoinExceptionMessage
  • recursiveAppend,
  • subjoinExceptionMessage,
  • subjoinFirstLine,
  • subjoinSTEPArray,
  • addIgnoreStackTraceLine,
  • isIgnoredStackTraceLine,
  • printIgnoredCount,
  • printStackLine,
  • setContext

Popular in Java

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • requestLocationUpdates (LocationManager)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)