public class LogFileLogger extends Object implements SQLExecuteLogger
Constructor and Description |
---|
LogFileLogger() |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
This method is called when execution is cancelled.
|
void |
finish(long executionTime)
This method is called when all statements have been executed.
|
void |
log(StatementExecutionInfo info)
A statement has completed executing, and this method can be used
to log information about the statement
|
public void log(StatementExecutionInfo info)
SQLExecuteLogger
log
in interface SQLExecuteLogger
info
- information about the statement that was executedpublic void finish(long executionTime)
SQLExecuteLogger
finish
in interface SQLExecuteLogger
executionTime
- the time it took in milliseconds for all statements
to be executed.public void cancel()
SQLExecuteLogger
cancel
in interface SQLExecuteLogger