Add automatic query logger function with additional execution details.
This commit is contained in:
parent
7377e078cd
commit
4955bfc4b5
18 changed files with 266 additions and 59 deletions
|
|
@ -24,4 +24,11 @@ type OrderByClause = jet.OrderByClause
|
|||
type GroupByClause = jet.GroupByClause
|
||||
|
||||
// SetLogger sets automatic statement logging
|
||||
// Deprecated: use SetQueryLoggerFunc instead.
|
||||
var SetLogger = jet.SetLoggerFunc
|
||||
|
||||
// SetQueryLoggerFunc sets automatic query logging function.
|
||||
var SetQueryLoggerFunc = jet.SetQueryLoggerFunc
|
||||
|
||||
// QueryInfo contains information about executed query
|
||||
type QueryInfo = jet.QueryInfo
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue