@Override
    public LogEntryEncoder encoder() {
        return V1Encoder.INSTANCE;
    }
Returns a singleton instance of DefaultLogEntryCodecFactory.
@return a singleton instance
jraft-core/src/main/java/com/alipay/sofa/jraft/entity/codec/v1/LogEntryV1CodecFactory.java