2017-01-05 20:40:18 +01:00
|
|
|
// +build appengine
|
|
|
|
|
|
|
|
package logrus
|
|
|
|
|
2017-06-23 21:45:04 +02:00
|
|
|
import "io"
|
|
|
|
|
2017-01-05 20:40:18 +01:00
|
|
|
// IsTerminal returns true if stderr's file descriptor is a terminal.
|
2017-06-23 21:45:04 +02:00
|
|
|
func IsTerminal(f io.Writer) bool {
|
2017-01-05 20:40:18 +01:00
|
|
|
return true
|
|
|
|
}
|