public interface SpiTxnLogger
Per Transaction logging of SQL, TXN and Summary messages.
-
Method Summary
Modifier and TypeMethodDescriptionid()booleanisLogSql()Is debug logging enabled.booleanIs summary logging enabled.voidTransaction Committed.voidQuery only transaction completed.voidnotifyRollback(Throwable cause) Transaction Rolled back.voidLog a SQL message.voidLog a Summary message.voidLog a Transaction message.
-
Method Details
-
id
String id() -
isLogSql
boolean isLogSql()Is debug logging enabled. -
isLogSummary
boolean isLogSummary()Is summary logging enabled. -
sql
Log a SQL message. -
sum
Log a Summary message. -
txn
Log a Transaction message. -
notifyCommit
void notifyCommit()Transaction Committed. -
notifyQueryOnly
void notifyQueryOnly()Query only transaction completed. -
notifyRollback
Transaction Rolled back.
-