Skip to content

Commit

Permalink
github.com/zhaolanbao/logrus
Browse files Browse the repository at this point in the history
  • Loading branch information
赵兰保 committed Sep 27, 2019
1 parent e831581 commit e8bc15c
Show file tree
Hide file tree
Showing 18 changed files with 19 additions and 19 deletions.
4 changes: 2 additions & 2 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
name = "github.com/mailgun/ttlmap"

[[constraint]]
name = "github.com/Sirupsen/logrus"
name = "github.com/zhaolanbao/logrus"
version = "1.0.3"

[[constraint]]
Expand Down
2 changes: 1 addition & 1 deletion buffer/buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import (
"reflect"

"github.com/mailgun/multibuf"
log "github.com/sirupsen/logrus"
log "github.com/zhaolanbao/logrus"
"github.com/zhaolanbao/oxy/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion cbreaker/cbreaker.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
"time"

"github.com/mailgun/timetools"
log "github.com/sirupsen/logrus"
log "github.com/zhaolanbao/logrus"
"github.com/zhaolanbao/oxy/memmetrics"
"github.com/zhaolanbao/oxy/utils"
)
Expand Down
2 changes: 1 addition & 1 deletion cbreaker/effect.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"net/url"
"strings"

log "github.com/sirupsen/logrus"
log "github.com/zhaolanbao/logrus"
"github.com/zhaolanbao/oxy/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion cbreaker/fallback.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/url"
"strconv"

log "github.com/sirupsen/logrus"
log "github.com/zhaolanbao/logrus"
"github.com/zhaolanbao/oxy/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion cbreaker/ratio.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"time"

"github.com/mailgun/timetools"
log "github.com/sirupsen/logrus"
log "github.com/zhaolanbao/logrus"
)

// ratioController allows passing portions traffic back to the endpoints,
Expand Down
2 changes: 1 addition & 1 deletion cbreaker/ratio_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"testing"
"time"

log "github.com/sirupsen/logrus"
log "github.com/zhaolanbao/logrus"
"github.com/stretchr/testify/assert"
"github.com/zhaolanbao/oxy/testutils"
)
Expand Down
2 changes: 1 addition & 1 deletion connlimit/connlimit.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"
"sync"

log "github.com/sirupsen/logrus"
log "github.com/zhaolanbao/logrus"
"github.com/zhaolanbao/oxy/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion forward/fwd.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"time"

"github.com/gorilla/websocket"
log "github.com/sirupsen/logrus"
log "github.com/zhaolanbao/logrus"
"github.com/zhaolanbao/oxy/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion ratelimit/tokenlimiter.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/mailgun/timetools"
"github.com/mailgun/ttlmap"
log "github.com/sirupsen/logrus"
log "github.com/zhaolanbao/logrus"
"github.com/zhaolanbao/oxy/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion roundrobin/rebalancer.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"time"

"github.com/mailgun/timetools"
log "github.com/sirupsen/logrus"
log "github.com/zhaolanbao/logrus"
"github.com/zhaolanbao/oxy/memmetrics"
"github.com/zhaolanbao/oxy/utils"
)
Expand Down
2 changes: 1 addition & 1 deletion roundrobin/rr.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"net/url"
"sync"

log "github.com/sirupsen/logrus"
log "github.com/zhaolanbao/logrus"
"github.com/zhaolanbao/oxy/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion stream/stream.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ package stream
import (
"net/http"

log "github.com/sirupsen/logrus"
log "github.com/zhaolanbao/logrus"
"github.com/zhaolanbao/oxy/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion stream/stream_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"testing"
"time"

log "github.com/sirupsen/logrus"
log "github.com/zhaolanbao/logrus"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/zhaolanbao/oxy/forward"
Expand Down
2 changes: 1 addition & 1 deletion trace/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strconv"
"time"

log "github.com/sirupsen/logrus"
log "github.com/zhaolanbao/logrus"
"github.com/zhaolanbao/oxy/utils"
)

Expand Down
2 changes: 1 addition & 1 deletion utils/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net"
"net/http"

log "github.com/sirupsen/logrus"
log "github.com/zhaolanbao/logrus"
)

// StatusClientClosedRequest non-standard HTTP status code for client disconnection
Expand Down
2 changes: 1 addition & 1 deletion utils/netutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"net/url"
"reflect"

log "github.com/sirupsen/logrus"
log "github.com/zhaolanbao/logrus"
)

// ProxyWriter calls recorder, used to debug logs
Expand Down

0 comments on commit e8bc15c

Please sign in to comment.