begin, end
parent
abffb60501
commit
eba8823c9e
|
@ -22,7 +22,7 @@ func (receiver internalLogger) Begin(a ...interface{}) Logger {
|
|||
casted.begin = time.Now()
|
||||
}
|
||||
|
||||
a = append([]interface{}{"BEGIN"}, a...)
|
||||
a = append([]interface{}{"BEGIN "}, a...)
|
||||
|
||||
logger.Debug(a...)
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ func (receiver internalLogger) End(a ...interface{}) {
|
|||
|
||||
msg := fmt.Sprintf(" δt=%s", diff)
|
||||
|
||||
a = append([]interface{}{"END"}, a...)
|
||||
a = append([]interface{}{"END "}, a...)
|
||||
a = append(a, msg)
|
||||
|
||||
receiver.Debug(a...)
|
||||
|
|
Loading…
Reference in New Issue