public interface MessageFormattingStrategy
Modifier and Type | Method and Description |
---|---|
java.lang.String |
formatMessage(int connectionId,
java.lang.String now,
long elapsed,
java.lang.String category,
java.lang.String prepared,
java.lang.String sql,
java.lang.String url)
Formats a log message for the logging module
|
java.lang.String formatMessage(int connectionId, java.lang.String now, long elapsed, java.lang.String category, java.lang.String prepared, java.lang.String sql, java.lang.String url)
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 executedurl
- the database url where the sql statement executed