mirror of https://github.com/sirupsen/logrus.git
Added Build Rule
Add build rule, to only build on Linux platform, reason for adding this: This allows the usage of the logrus package within a Windows based project. Current logrus project fails to import due to the fact the syslog is missing on Windows.
This commit is contained in:
parent
62f85a2e39
commit
6815eb0dbd
|
@ -1,3 +1,5 @@
|
||||||
|
// +build !windows,!nacl,!plan9
|
||||||
|
|
||||||
package logrus_syslog
|
package logrus_syslog
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
|
Loading…
Reference in New Issue