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
+1 -1
View File
@@ -9,7 +9,7 @@ package monitor
import (
"time"
"tailscale.com/logger"
"tailscale.com/types/logger"
)
// Message represents a message returned from a connection.
+1 -1
View File
@@ -15,7 +15,7 @@ import (
"github.com/tailscale/wireguard-go/device"
"github.com/tailscale/wireguard-go/tun"
"github.com/tailscale/wireguard-go/wgcfg"
"tailscale.com/logger"
"tailscale.com/types/logger"
)
// For now this router only supports the userspace WireGuard implementations.
+1 -1
View File
@@ -7,7 +7,7 @@ package wgengine
import (
"github.com/tailscale/wireguard-go/device"
"github.com/tailscale/wireguard-go/tun"
"tailscale.com/logger"
"tailscale.com/types/logger"
)
type darwinRouter struct {
+1 -1
View File
@@ -9,7 +9,7 @@ package wgengine
import (
"github.com/tailscale/wireguard-go/device"
"github.com/tailscale/wireguard-go/tun"
"tailscale.com/logger"
"tailscale.com/types/logger"
)
func NewUserspaceRouter(logf logger.Logf, tunname string, dev *device.Device, tuntap tun.Device, netChanged func()) Router {
+1 -1
View File
@@ -7,7 +7,7 @@ package wgengine
import (
"github.com/tailscale/wireguard-go/device"
"github.com/tailscale/wireguard-go/tun"
"tailscale.com/logger"
"tailscale.com/types/logger"
)
type fakeRouter struct {
+1 -1
View File
@@ -19,7 +19,7 @@ import (
"github.com/tailscale/wireguard-go/tun"
"github.com/tailscale/wireguard-go/wgcfg"
"tailscale.com/atomicfile"
"tailscale.com/logger"
"tailscale.com/types/logger"
"tailscale.com/wgengine/monitor"
)
+1 -1
View File
@@ -10,7 +10,7 @@ import (
winipcfg "github.com/tailscale/winipcfg-go"
"github.com/tailscale/wireguard-go/device"
"github.com/tailscale/wireguard-go/tun"
"tailscale.com/logger"
"tailscale.com/types/logger"
)
type winRouter struct {
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"fmt"
"runtime"
"tailscale.com/logger"
"tailscale.com/types/logger"
)
// RusagePrefixLog returns a Logf func wrapping the provided logf func that adds
+1 -1
View File
@@ -16,8 +16,8 @@ import (
"github.com/tailscale/wireguard-go/device"
"github.com/tailscale/wireguard-go/tun"
"github.com/tailscale/wireguard-go/wgcfg"
"tailscale.com/logger"
"tailscale.com/tailcfg"
"tailscale.com/types/logger"
"tailscale.com/wgengine/filter"
"tailscale.com/wgengine/magicsock"
"tailscale.com/wgengine/packet"