From 5d5608942695c743210480413d926dd92cfe0896 Mon Sep 17 00:00:00 2001 From: dingjun Date: Wed, 4 Aug 2021 16:32:10 +0800 Subject: [PATCH] update log library --- main.go | 2 +- middleware.go | 2 +- server.go | 2 +- server_https.go | 2 +- server_tcp.go | 2 +- server_udp.go | 2 +- upstream.go | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/main.go b/main.go index bc30cea..5427fc5 100644 --- a/main.go +++ b/main.go @@ -7,7 +7,7 @@ import ( "os/signal" "syscall" - "github.com/fangdingjun/go-log" + log "github.com/fangdingjun/go-log/v5" ) func main() { diff --git a/middleware.go b/middleware.go index 189886d..441460c 100644 --- a/middleware.go +++ b/middleware.go @@ -3,7 +3,7 @@ package main import ( "net/http" - "github.com/fangdingjun/go-log" + log "github.com/fangdingjun/go-log/v5" ) type logHandler struct { diff --git a/server.go b/server.go index f836b8a..f65102f 100644 --- a/server.go +++ b/server.go @@ -8,7 +8,7 @@ import ( "net/url" "strconv" - "github.com/fangdingjun/go-log" + log "github.com/fangdingjun/go-log/v5" "github.com/fangdingjun/protolistener" ) diff --git a/server_https.go b/server_https.go index abd24a7..b18297d 100644 --- a/server_https.go +++ b/server_https.go @@ -4,7 +4,7 @@ import ( "io/ioutil" "net/http" - "github.com/fangdingjun/go-log" + log "github.com/fangdingjun/go-log/v5" "github.com/miekg/dns" ) diff --git a/server_tcp.go b/server_tcp.go index 02133ca..3903d14 100644 --- a/server_tcp.go +++ b/server_tcp.go @@ -3,7 +3,7 @@ package main import ( "net" - "github.com/fangdingjun/go-log" + log "github.com/fangdingjun/go-log/v5" "github.com/miekg/dns" ) diff --git a/server_udp.go b/server_udp.go index 5216d12..7531d16 100644 --- a/server_udp.go +++ b/server_udp.go @@ -3,7 +3,7 @@ package main import ( "net" - "github.com/fangdingjun/go-log" + log "github.com/fangdingjun/go-log/v5" "github.com/miekg/dns" ) diff --git a/upstream.go b/upstream.go index 30069d4..83c1214 100644 --- a/upstream.go +++ b/upstream.go @@ -13,7 +13,7 @@ import ( "strings" "time" - log "github.com/fangdingjun/go-log" + log "github.com/fangdingjun/go-log/v5" "github.com/miekg/dns" "golang.org/x/net/http2" )