correct the SQLLogger Printf

This commit is contained in:
Jeff Hodges 2015-08-20 18:13:38 -07:00
parent fc428d18f9
commit b06ada1e6b
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ type SQLLogger struct {
// Printf adapts the AuditLogger to GORP's interface
func (log *SQLLogger) Printf(format string, v ...interface{}) {
log.log.Debug(fmt.Sprintf(format, v))
log.log.Debug(fmt.Sprintf(format, v...))
}
// initTables constructs the table map for the ORM. If you want to also create