public interface MessageFormattingStrategy
Modifier and Type | Method and Description |
---|---|
String |
formatMessage(int connectionId,
String now,
long elapsed,
String category,
String prepared,
String sql)
Formats a log message for the logging module
|
String formatMessage(int connectionId, String now, long elapsed, String category, String prepared, String sql)
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-2016 P6Spy. All Rights Reserved.