Skip to content

Commit

Permalink
Merge pull request #10 from uber-common/ajs-fix-logrus
Browse files Browse the repository at this point in the history
Fix logrus import path
  • Loading branch information
akshayjshah authored Jun 14, 2017
2 parents 148dd9d + 803a938 commit dbf558e
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Synopsis [![Build Status](https://travis-ci.org/uber-common/bark.svg?branch=master)](https://travis-ci.org/uber-common/bark)

Defines an interface for loggers and stats reporters that can be passed to Uber Go libraries.
Provides implementations which wrap a common logging module, [logrus](https://github.com/Sirupsen/logrus),
Provides implementations which wrap a common logging module, [logrus](https://github.com/sirupsen/logrus),
and a common stats reporting module [go-statsd-client](https://github.com/cactus/go-statsd-client).
Clients may also choose to implement these interfaces themselves.

Expand Down
2 changes: 1 addition & 1 deletion interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ package bark
import (
"time"

"github.com/Sirupsen/logrus"
"github.com/cactus/go-statsd-client/statsd"
"github.com/sirupsen/logrus"
)

// Logger is an interface for loggers accepted by Uber's libraries.
Expand Down
2 changes: 1 addition & 1 deletion logrus_logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

package bark

import "github.com/Sirupsen/logrus"
import "github.com/sirupsen/logrus"

// Interface provides indirection so Entry and Logger implementations can use exact same methods
type logrusLoggerOrEntry interface {
Expand Down
2 changes: 1 addition & 1 deletion logrus_logger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (

"errors"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"github.com/uber-common/bark"
Expand Down
5 changes: 2 additions & 3 deletions testhelp/fatal.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,10 @@

package main

import
(
import (
"os"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
"github.com/uber-common/bark"
)

Expand Down

0 comments on commit dbf558e

Please sign in to comment.