Class CompactSingleLineFormat

java.lang.Object
cn.unikue.springstarter.p6spy.strategy.CompactSingleLineFormat
All Implemented Interfaces:
com.p6spy.engine.spy.appender.MessageFormattingStrategy

public class CompactSingleLineFormat extends Object implements com.p6spy.engine.spy.appender.MessageFormattingStrategy
Compact to single line strategy for p6spy
Author:
David Hsing
See Also:
  • SingleLineFormat
  • Constructor Details

    • CompactSingleLineFormat

      public CompactSingleLineFormat()
  • Method Details

    • formatMessage

      public String formatMessage(int connectionId, String currentTime, long executionTime, String category, String effectiveSql, String sql, String url)
      Specified by:
      formatMessage in interface com.p6spy.engine.spy.appender.MessageFormattingStrategy