bind-response-policy-zone-c.../cmd/bind/supporting-functions.go

12 lines
180 B
Go

package main
import (
"log"
"time"
)
func timeTrack(start time.Time, name string) {
elapsed := time.Since(start)
log.Printf("[TRACE] Function %s took %s\n", name, elapsed)
}