forked from mirror/logrus
Merge pull request #966 from nlepage/feature/nacl
Add a checkTerminal for nacl to support running on play.golang.org
This commit is contained in:
commit
e0108d9285
|
@ -0,0 +1,11 @@
|
||||||
|
// +build nacl
|
||||||
|
|
||||||
|
package logrus
|
||||||
|
|
||||||
|
import (
|
||||||
|
"io"
|
||||||
|
)
|
||||||
|
|
||||||
|
func checkIfTerminal(w io.Writer) bool {
|
||||||
|
return false
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
// +build !appengine,!js,!windows
|
// +build !appengine,!js,!windows,!nacl
|
||||||
|
|
||||||
package logrus
|
package logrus
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue