begin, end

master
Charles Iliya Krempeaux 2021-02-10 11:47:48 -08:00
parent abffb60501
commit eba8823c9e
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ func (receiver internalLogger) Begin(a ...interface{}) Logger {
casted.begin = time.Now() casted.begin = time.Now()
} }
a = append([]interface{}{"BEGIN"}, a...) a = append([]interface{}{"BEGIN "}, a...)
logger.Debug(a...) logger.Debug(a...)

View File

@ -10,7 +10,7 @@ func (receiver internalLogger) End(a ...interface{}) {
msg := fmt.Sprintf(" δt=%s", diff) msg := fmt.Sprintf(" δt=%s", diff)
a = append([]interface{}{"END"}, a...) a = append([]interface{}{"END "}, a...)
a = append(a, msg) a = append(a, msg)
receiver.Debug(a...) receiver.Debug(a...)