Search in sources :

Example 1 with ClassPackagingData

use of ch.qos.logback.classic.spi.ClassPackagingData in project cdap by caskdata.

the class StackTraceElementProxySerializer method decode.

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;
}
Also used : StackTraceElementProxy(ch.qos.logback.classic.spi.StackTraceElementProxy) ClassPackagingData(ch.qos.logback.classic.spi.ClassPackagingData)

Aggregations

ClassPackagingData (ch.qos.logback.classic.spi.ClassPackagingData)1 StackTraceElementProxy (ch.qos.logback.classic.spi.StackTraceElementProxy)1