Move "logger" package to under types, now that we have it.

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2020-02-14 19:23:16 -08:00
committed by Brad Fitzpatrick
parent dec5d64593
commit 2896be60db
19 changed files with 18 additions and 18 deletions

10
types/logger/logger.go Normal file
View File

@@ -0,0 +1,10 @@
// Copyright (c) 2020 Tailscale Inc & AUTHORS All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package logger defines a type for writing to logs. It's just a
// convenience type so that we don't have to pass verbose func(...)
// types around.
package logger
type Logf func(fmt string, args ...interface{})