Use logger.Logf consistently. It was used in most places.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2020-02-11 09:37:20 -08:00
parent c1917710ad
commit a59dc5f155
4 changed files with 13 additions and 8 deletions

View File

@@ -7,9 +7,11 @@ package wgengine
import (
"fmt"
"runtime"
"tailscale.com/logger"
)
func RusagePrefixLog(logf func(f string, argv ...interface{})) func(f string, argv ...interface{}) {
func RusagePrefixLog(logf logger.Logf) func(f string, argv ...interface{}) {
return func(f string, argv ...interface{}) {
var m runtime.MemStats
runtime.ReadMemStats(&m)