mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-08 22:12:21 +00:00
Move "logger" package to under types, now that we have it.
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
dec5d64593
commit
2896be60db
10
types/logger/logger.go
Normal file
10
types/logger/logger.go
Normal 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{})
|
||||
Reference in New Issue
Block a user