Merge pull request #547 from bobtfish/rename_syslog

Update due to rename of github account
This commit is contained in:
Simon Eskildsen 2017-06-06 15:07:04 -04:00 committed by GitHub
commit 5b44a589ca
5 changed files with 8 additions and 8 deletions

View File

@ -5,8 +5,8 @@
```go ```go
import ( import (
"log/syslog" "log/syslog"
"github.com/Sirupsen/logrus" "github.com/sirupsen/logrus"
logrus_syslog "github.com/Sirupsen/logrus/hooks/syslog" logrus_syslog "github.com/sirupsen/logrus/hooks/syslog"
) )
func main() { func main() {
@ -24,8 +24,8 @@ If you want to connect to local syslog (Ex. "/dev/log" or "/var/run/syslog" or "
```go ```go
import ( import (
"log/syslog" "log/syslog"
"github.com/Sirupsen/logrus" "github.com/sirupsen/logrus"
logrus_syslog "github.com/Sirupsen/logrus/hooks/syslog" logrus_syslog "github.com/sirupsen/logrus/hooks/syslog"
) )
func main() { func main() {

View File

@ -4,7 +4,7 @@ package logrus_syslog
import ( import (
"fmt" "fmt"
"github.com/Sirupsen/logrus" "github.com/sirupsen/logrus"
"log/syslog" "log/syslog"
"os" "os"
) )

View File

@ -1,7 +1,7 @@
package logrus_syslog package logrus_syslog
import ( import (
"github.com/Sirupsen/logrus" "github.com/sirupsen/logrus"
"log/syslog" "log/syslog"
"testing" "testing"
) )

View File

@ -7,7 +7,7 @@ import (
"io/ioutil" "io/ioutil"
"sync" "sync"
"github.com/Sirupsen/logrus" "github.com/sirupsen/logrus"
) )
// Hook is a hook designed for dealing with logs in test scenarios. // Hook is a hook designed for dealing with logs in test scenarios.

View File

@ -3,7 +3,7 @@ package test
import ( import (
"testing" "testing"
"github.com/Sirupsen/logrus" "github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
) )