de.huxhorn.lilith.data.logging.protobuf
Class LoggingEventProtobufDecoder
java.lang.Object
de.huxhorn.lilith.data.logging.protobuf.LoggingEventProtobufDecoder
- All Implemented Interfaces:
- de.huxhorn.sulky.codec.Decoder<de.huxhorn.lilith.data.logging.LoggingEvent>
public class LoggingEventProtobufDecoder
- extends java.lang.Object
- implements de.huxhorn.sulky.codec.Decoder<de.huxhorn.lilith.data.logging.LoggingEvent>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingEventProtobufDecoder
public LoggingEventProtobufDecoder(boolean compressing)
isCompressing
public boolean isCompressing()
setCompressing
public void setCompressing(boolean compressing)
decode
public de.huxhorn.lilith.data.logging.LoggingEvent decode(byte[] bytes)
- Specified by:
decode in interface de.huxhorn.sulky.codec.Decoder<de.huxhorn.lilith.data.logging.LoggingEvent>
convert
public static de.huxhorn.lilith.data.logging.Marker convert(LoggingProto.Marker marker)
convert
public static de.huxhorn.lilith.data.logging.ExtendedStackTraceElement convert(LoggingProto.StackTraceElement ste)
convert
public static de.huxhorn.lilith.data.logging.ThrowableInfo convert(LoggingProto.Throwable throwable)
convert
public static de.huxhorn.lilith.data.logging.Message convert(LoggingProto.Message parsedMessage)
convert
public static de.huxhorn.lilith.data.logging.ThreadInfo convert(LoggingProto.ThreadInfo parsedThreadInfo)
convert
public static de.huxhorn.lilith.data.eventsource.LoggerContext convert(LoggingProto.LoggerContext loggerContext)
convert
public static java.util.Map<java.lang.String,java.lang.String> convert(LoggingProto.StringMap stringMap)
convert
public static de.huxhorn.lilith.data.logging.LoggingEvent convert(LoggingProto.LoggingEvent parsedEvent)