public class MultiLineFormat extends Object implements MessageFormattingStrategy
Constructor and Description |
---|
MultiLineFormat() |
public String formatMessage(int connectionId, String now, long elapsed, String category, String prepared, String sql)
formatMessage
in interface MessageFormattingStrategy
connectionId
- the id of the connectionnow
- the current ime expressing in millisecondselapsed
- the time in milliseconds that the operation took to completecategory
- the category of the operationprepared
- the SQL statement with all bind variables replaced with actual valuessql
- the sql statement executedCopyright © 2002-2014 P6Spy. All Rights Reserved.