mirror of https://github.com/sirupsen/logrus.git
modify syslog, test, writer's logrus address
This commit is contained in:
parent
3175a890b8
commit
08a0f857f2
|
@ -7,7 +7,7 @@ import (
|
|||
"log/syslog"
|
||||
"os"
|
||||
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/mycaosf/logrus"
|
||||
)
|
||||
|
||||
// SyslogHook to send logs via syslog.
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
"io/ioutil"
|
||||
"sync"
|
||||
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/mycaosf/logrus"
|
||||
)
|
||||
|
||||
// Hook is a hook designed for dealing with logs in test scenarios.
|
||||
|
|
|
@ -3,7 +3,7 @@ package writer
|
|||
import (
|
||||
"io"
|
||||
|
||||
log "github.com/sirupsen/logrus"
|
||||
log "github.com/mycaosf/logrus"
|
||||
)
|
||||
|
||||
// Hook is a hook that writes logs of specified LogLevels to specified Writer
|
||||
|
|
Loading…
Reference in New Issue