go fmt
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
package logrus_syslog
|
||||
|
||||
import (
|
||||
"os"
|
||||
"fmt"
|
||||
"log/syslog"
|
||||
"github.com/Sirupsen/logrus"
|
||||
"log/syslog"
|
||||
"os"
|
||||
)
|
||||
|
||||
// SyslogHook to send logs via syslog.
|
||||
type SyslogHook struct{
|
||||
type SyslogHook struct {
|
||||
Writer *syslog.Writer
|
||||
SyslogNetwork string
|
||||
SyslogRaddr string
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
package logrus_syslog
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"log/syslog"
|
||||
"github.com/Sirupsen/logrus"
|
||||
"log/syslog"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestLocalhostAddAndPrint(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user