package com.navercorp.pinpoint.web.view;

import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.JsonSerializer;
import com.fasterxml.jackson.databind.SerializerProvider;

import java.io.IOException;

/**
 * @author jaehong.kim
 */
public class TransactionMetaDataSerializer extends JsonSerializer<TransactionMetaDataViewModel.MetaData> {
    @Override
    public void serialize(TransactionMetaDataViewModel.MetaData value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonProcessingException {
        jgen.writeStartArray();
        jgen.writeString(value.getTraceId());
        jgen.writeNumber(value.getCollectorAcceptTime());
        jgen.writeNumber(value.getStartTime());
        jgen.writeNumber(value.getElapsed());
        jgen.writeString(value.getApplication());
        jgen.writeString(value.getAgentId());
        jgen.writeString(value.getEndpoint());
        jgen.writeNumber(value.getException());
        jgen.writeString(value.getRemoteAddr());
        jgen.writeString(value.getLogButtonName());
        jgen.writeString(value.getLogPageUrl());
        jgen.writeEndArray();
    }
}

@@ -1077,109 +1077,8 @@
 ));%0A
-        jgen.writeString(value.getLogButtonName());%0A        jgen.writeString(value.getLogPageUrl());%0A
     

remove nelo log.