Class VanillaLoggerContextVOSerializer

java.lang.Object
com.esotericsoftware.kryo.kryo5.Serializer<LoggerContextVO>
ch.qos.logback.classic.kryo.VanillaLoggerContextVOSerializer

public class VanillaLoggerContextVOSerializer extends com.esotericsoftware.kryo.kryo5.Serializer<LoggerContextVO>
Serializer for LoggerContextVO used by the vanilla stream format.

Relies only on the public API of LoggerContextVO. Kryo's reflection based FieldSerializer would require module ch.qos.logback.classic to open package ch.qos.logback.classic.spi.

  • Constructor Details

  • Method Details

    • write

      public void write(com.esotericsoftware.kryo.kryo5.Kryo kryo, com.esotericsoftware.kryo.kryo5.io.Output output, LoggerContextVO loggerContextVO)
      Specified by:
      write in class com.esotericsoftware.kryo.kryo5.Serializer<LoggerContextVO>
    • read

      public LoggerContextVO read(com.esotericsoftware.kryo.kryo5.Kryo kryo, com.esotericsoftware.kryo.kryo5.io.Input input, Class<? extends LoggerContextVO> type)
      Specified by:
      read in class com.esotericsoftware.kryo.kryo5.Serializer<LoggerContextVO>