Package org.apache.twill.internal.json

Examples of org.apache.twill.internal.json.ILoggingEventSerializer


    private LogEventConverter(String hostname) {
      gson = new GsonBuilder()
        .registerTypeAdapter(StackTraceElement.class, new StackTraceElementCodec())
        .registerTypeAdapter(LogThrowable.class, new LogThrowableCodec())
        .registerTypeAdapter(ILoggingEvent.class, new ILoggingEventSerializer(hostname))
        .create();
    }
View Full Code Here

TOP

Related Classes of org.apache.twill.internal.json.ILoggingEventSerializer

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.