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
|
|
@ -23,5 +23,12 @@ type OrderByClause = jet.OrderByClause
|
|||
// GroupByClause interface to use as input for GROUP_BY
|
||||
type GroupByClause = jet.GroupByClause
|
||||
|
||||
// SetLogger sets automatic statement logging
|
||||
// SetLogger sets automatic statement logging function
|
||||
// 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