public class MultiLineFormat extends java.lang.Object implements MessageFormattingStrategy
| Constructor and Description |
|---|
MultiLineFormat() |
| 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
|
public 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)
formatMessage in interface MessageFormattingStrategyconnectionId - 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