package gormlog import "time" // ExportSetSlowThreshold overrides the slow-statement threshold so a // test can drive the slow path without sleeping. Tests only. func (l *Logger) ExportSetSlowThreshold(d time.Duration) { l.slowThreshold = d }