Tabnine Logo
IThrowableRenderer
Code IndexAdd Tabnine to your IDE (free)

How to use
IThrowableRenderer
in
ch.qos.logback.core.html

Best Java code snippets using ch.qos.logback.core.html.IThrowableRenderer (Showing top 8 results out of 315)

origin: ch.qos.logback/logback-classic

public String doLayout(ILoggingEvent event) {
  StringBuilder buf = new StringBuilder();
  startNewTableIfLimitReached(buf);
  boolean odd = true;
  if (((counter++) & 1) == 0) {
    odd = false;
  }
  String level = event.getLevel().toString().toLowerCase();
  buf.append(LINE_SEPARATOR);
  buf.append("<tr class=\"");
  buf.append(level);
  if (odd) {
    buf.append(" odd\">");
  } else {
    buf.append(" even\">");
  }
  buf.append(LINE_SEPARATOR);
  Converter<ILoggingEvent> c = head;
  while (c != null) {
    appendEventToBuffer(buf, c, event);
    c = c.getNext();
  }
  buf.append("</tr>");
  buf.append(LINE_SEPARATOR);
  if (event.getThrowableProxy() != null) {
    throwableRenderer.render(buf, event);
  }
  return buf.toString();
}
origin: camunda/camunda-bpm-platform

public String doLayout(ILoggingEvent event) {
 StringBuilder buf = new StringBuilder();
 startNewTableIfLimitReached(buf);
 boolean odd = true;
 if (((counter++) & 1) == 0) {
  odd = false;
 }
 String level = event.getLevel().toString().toLowerCase();
 buf.append(LINE_SEPARATOR);
 buf.append("<tr class=\"");
 buf.append(level);
 if (odd) {
  buf.append(" odd\">");
 } else {
  buf.append(" even\">");
 }
 buf.append(LINE_SEPARATOR);
 Converter<ILoggingEvent> c = head;
 while (c != null) {
  appendEventToBuffer(buf, c, event);
  c = c.getNext();
 }
 buf.append("</tr>");
 buf.append(LINE_SEPARATOR);
 if (event.getThrowableProxy() != null) {
  throwableRenderer.render(buf, event);
 }
 return buf.toString();
}
origin: com.alibaba.citrus.tool/antx-autoexpand

public String doLayout(ILoggingEvent event) {
 StringBuilder buf = new StringBuilder();
 startNewTableIfLimitReached(buf);
 boolean odd = true;
 if (((counter++) & 1) == 0) {
  odd = false;
 }
 String level = event.getLevel().toString().toLowerCase();
 buf.append(LINE_SEPARATOR);
 buf.append("<tr class=\"");
 buf.append(level);
 if (odd) {
  buf.append(" odd\">");
 } else {
  buf.append(" even\">");
 }
 buf.append(LINE_SEPARATOR);
 Converter<ILoggingEvent> c = head;
 while (c != null) {
  appendEventToBuffer(buf, c, event);
  c = c.getNext();
 }
 buf.append("</tr>");
 buf.append(LINE_SEPARATOR);
 if (event.getThrowableProxy() != null) {
  throwableRenderer.render(buf, event);
 }
 return buf.toString();
}
origin: tony19/logback-android

public String doLayout(ILoggingEvent event) {
 StringBuilder buf = new StringBuilder();
 startNewTableIfLimitReached(buf);
 boolean odd = true;
 if (((counter++) & 1) == 0) {
  odd = false;
 }
 String level = event.getLevel().toString().toLowerCase(Locale.US);
 buf.append(LINE_SEPARATOR);
 buf.append("<tr class=\"");
 buf.append(level);
 if (odd) {
  buf.append(" odd\">");
 } else {
  buf.append(" even\">");
 }
 buf.append(LINE_SEPARATOR);
 Converter<ILoggingEvent> c = head;
 while (c != null) {
  appendEventToBuffer(buf, c, event);
  c = c.getNext();
 }
 buf.append("</tr>");
 buf.append(LINE_SEPARATOR);
 if (event.getThrowableProxy() != null) {
  throwableRenderer.render(buf, event);
 }
 return buf.toString();
}
origin: at.bestsolution.efxclipse.eclipse/ch.qos.logback.classic

public String doLayout(ILoggingEvent event) {
 StringBuilder buf = new StringBuilder();
 startNewTableIfLimitReached(buf);
 boolean odd = true;
 if (((counter++) & 1) == 0) {
  odd = false;
 }
 String level = event.getLevel().toString().toLowerCase();
 buf.append(LINE_SEPARATOR);
 buf.append("<tr class=\"");
 buf.append(level);
 if (odd) {
  buf.append(" odd\">");
 } else {
  buf.append(" even\">");
 }
 buf.append(LINE_SEPARATOR);
 Converter<ILoggingEvent> c = head;
 while (c != null) {
  appendEventToBuffer(buf, c, event);
  c = c.getNext();
 }
 buf.append("</tr>");
 buf.append(LINE_SEPARATOR);
 if (event.getThrowableProxy() != null) {
  throwableRenderer.render(buf, event);
 }
 return buf.toString();
}
origin: Nextdoor/bender

public String doLayout(ILoggingEvent event) {
  StringBuilder buf = new StringBuilder();
  startNewTableIfLimitReached(buf);
  boolean odd = true;
  if (((counter++) & 1) == 0) {
    odd = false;
  }
  String level = event.getLevel().toString().toLowerCase();
  buf.append(LINE_SEPARATOR);
  buf.append("<tr class=\"");
  buf.append(level);
  if (odd) {
    buf.append(" odd\">");
  } else {
    buf.append(" even\">");
  }
  buf.append(LINE_SEPARATOR);
  Converter<ILoggingEvent> c = head;
  while (c != null) {
    appendEventToBuffer(buf, c, event);
    c = c.getNext();
  }
  buf.append("</tr>");
  buf.append(LINE_SEPARATOR);
  if (event.getThrowableProxy() != null) {
    throwableRenderer.render(buf, event);
  }
  return buf.toString();
}
origin: com.impetus.fabric/fabric-jdbc-driver-shaded

public String doLayout(ILoggingEvent event) {
  StringBuilder buf = new StringBuilder();
  startNewTableIfLimitReached(buf);
  boolean odd = true;
  if (((counter++) & 1) == 0) {
    odd = false;
  }
  String level = event.getLevel().toString().toLowerCase();
  buf.append(LINE_SEPARATOR);
  buf.append("<tr class=\"");
  buf.append(level);
  if (odd) {
    buf.append(" odd\">");
  } else {
    buf.append(" even\">");
  }
  buf.append(LINE_SEPARATOR);
  Converter<ILoggingEvent> c = head;
  while (c != null) {
    appendEventToBuffer(buf, c, event);
    c = c.getNext();
  }
  buf.append("</tr>");
  buf.append(LINE_SEPARATOR);
  if (event.getThrowableProxy() != null) {
    throwableRenderer.render(buf, event);
  }
  return buf.toString();
}
origin: io.virtdata/virtdata-lib-realer

public String doLayout(ILoggingEvent event) {
  StringBuilder buf = new StringBuilder();
  startNewTableIfLimitReached(buf);
  boolean odd = true;
  if (((counter++) & 1) == 0) {
    odd = false;
  }
  String level = event.getLevel().toString().toLowerCase();
  buf.append(LINE_SEPARATOR);
  buf.append("<tr class=\"");
  buf.append(level);
  if (odd) {
    buf.append(" odd\">");
  } else {
    buf.append(" even\">");
  }
  buf.append(LINE_SEPARATOR);
  Converter<ILoggingEvent> c = head;
  while (c != null) {
    appendEventToBuffer(buf, c, event);
    c = c.getNext();
  }
  buf.append("</tr>");
  buf.append(LINE_SEPARATOR);
  if (event.getThrowableProxy() != null) {
    throwableRenderer.render(buf, event);
  }
  return buf.toString();
}
ch.qos.logback.core.htmlIThrowableRenderer

Most used methods

  • render

Popular in Java

  • Parsing JSON documents to java classes using gson
  • onRequestPermissionsResult (Fragment)
  • getResourceAsStream (ClassLoader)
  • getSystemService (Context)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now