Skip to content

Commit 198cb61

Browse files
authored
Merge pull request #24 from askuy/feature/option20250331
add options
2 parents 7b8def6 + c83b83d commit 198cb61

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

option.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,9 @@ func WithSlowLogThreshold(slowLogThreshold time.Duration) Option {
9595
c.config.SlowLogThreshold = slowLogThreshold
9696
}
9797
}
98+
99+
func WithEnableDetailSQL(enableDetailSQL bool) Option {
100+
return func(c *Container) {
101+
c.config.EnableDetailSQL = enableDetailSQL
102+
}
103+
}

0 commit comments

Comments
 (0)