Clear all logged statements
Initialize the SQL logger and prepare output directory
Log a SQL statement
Optional
Log a transaction boundary
Write the collected SQL statements to file
Clear all logged statements