pgx/tracelog
Vitalii Solodilov 174224fa07 The tracelog.TraceLog implements the pgx.PrepareTracer interface
Allows Tracelog to log the Prepare queiries.

Fixes #1383

Unit tests:
* added logger.Clear method to cleanup old log messages
* added logger.FilterByMsg to get only specific logs for assertions. When quieries are executed using different query exec methods prepare query can be not executed. So we can get different number of logs using different exec methods.
2022-11-19 07:43:39 -06:00
..
tracelog.go The tracelog.TraceLog implements the pgx.PrepareTracer interface 2022-11-19 07:43:39 -06:00
tracelog_test.go The tracelog.TraceLog implements the pgx.PrepareTracer interface 2022-11-19 07:43:39 -06:00