Package ch.qos.logback.classic.spi

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


  public String convert(Object event) {
    StringBuffer buf = new StringBuffer(32);

    LoggingEvent le = (LoggingEvent) event;
    ThrowableInformation information = le.getThrowableInformation();

    if (information == null) {
      return CoreGlobal.EMPTY_STRING;
    }

    String[] stringRep = information.getThrowableStrRep();

    int length =  (lengthOption > stringRep.length) ? stringRep.length : lengthOption;

    if (evaluatorList != null) {
      boolean printStack = true;
View Full Code Here


  public String convert(Object event) {
    StringBuffer buf = new StringBuffer(32);

    LoggingEvent le = (LoggingEvent) event;
    ThrowableInformation information = le.getThrowableInformation();

    if (information == null) {
      return CoreGlobal.EMPTY_STRING;
    }

    String[] stringRep = information.getThrowableStrRep();

    int length = (lengthOption > stringRep.length) ? stringRep.length
        : lengthOption;

    if (evaluatorList != null) {
View Full Code Here

    }
  }
 
  public void render(StringBuffer sbuf, Object eventObject) {
    LoggingEvent event = (LoggingEvent)eventObject;
    ThrowableInformation ti = event.getThrowableInformation();
    if (ti != null) {
      render(sbuf, ti.getThrowableStrRep());
    }
  }
View Full Code Here

  }

  public String convert(LoggingEvent event) {
    StringBuffer buf = new StringBuffer(32);

    ThrowableInformation information = event.getThrowableInformation();

    if (information == null) {
      return CoreGlobal.EMPTY_STRING;
    }

    String[] stringRep = information.getThrowableStrRep();

    int length = (lengthOption > stringRep.length) ? stringRep.length
        : lengthOption;

    if (evaluatorList != null) {
View Full Code Here

TOP

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

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.