package com.palacesun.engine.spy.appender;

import com.palacesun.engine.common.P6Util;

public class SingleLineFormat implements MessageFormattingStrategy {
   public String formatMessage(int connectionId, String now, long elapsed, String category, String prepared, String sql, String url) {
      return now + "|" + elapsed + "|" + category + "|connection " + connectionId + "|url " + url + "|" + P6Util.singleLine(prepared) + "|" + P6Util.singleLine(sql);
   }
}
