Merge pull request #305 from dvic/logrus-fix
fix logrus updated package name (lowercase)
This commit is contained in:
+1
-1
@@ -55,7 +55,7 @@ install:
|
|||||||
- go get -u github.com/lib/pq
|
- go get -u github.com/lib/pq
|
||||||
- go get -u github.com/hashicorp/go-version
|
- go get -u github.com/hashicorp/go-version
|
||||||
- go get -u github.com/satori/go.uuid
|
- go get -u github.com/satori/go.uuid
|
||||||
- go get -u github.com/Sirupsen/logrus
|
- go get -u github.com/sirupsen/logrus
|
||||||
- go get -u github.com/pkg/errors
|
- go get -u github.com/pkg/errors
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
|||||||
@@ -233,7 +233,7 @@ Logging
|
|||||||
|
|
||||||
pgx defines a simple logger interface. Connections optionally accept a logger
|
pgx defines a simple logger interface. Connections optionally accept a logger
|
||||||
that satisfies this interface. Set LogLevel to control logging verbosity.
|
that satisfies this interface. Set LogLevel to control logging verbosity.
|
||||||
Adapters for github.com/inconshreveable/log15, github.com/Sirupsen/logrus, and
|
Adapters for github.com/inconshreveable/log15, github.com/sirupsen/logrus, and
|
||||||
the testing log are provided in the log directory.
|
the testing log are provided in the log directory.
|
||||||
*/
|
*/
|
||||||
package pgx
|
package pgx
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
// Package logrusadapter provides a logger that writes to a github.com/Sirupsen/logrus.Logger
|
// Package logrusadapter provides a logger that writes to a github.com/sirupsen/logrus.Logger
|
||||||
// log.
|
// log.
|
||||||
package logrusadapter
|
package logrusadapter
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/Sirupsen/logrus"
|
|
||||||
"github.com/jackc/pgx"
|
"github.com/jackc/pgx"
|
||||||
|
"github.com/sirupsen/logrus"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Logger struct {
|
type Logger struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user