rename logrus_syslog package to syslog

Package names shouldn't be using underscores. There is also nothing
wrong with naming this package `syslog`. People can include it with any
name they wish.
This commit is contained in:
dmathieu
2017-07-18 15:18:46 +02:00
parent 5ff5dd844d
commit f30ff25fb7
3 changed files with 10 additions and 8 deletions
+3 -2
View File
@@ -1,12 +1,13 @@
// +build !windows,!nacl,!plan9
package logrus_syslog
package syslog
import (
"fmt"
"github.com/sirupsen/logrus"
"log/syslog"
"os"
"github.com/sirupsen/logrus"
)
// SyslogHook to send logs via syslog.